Extreme beginner here trying to work on RDF. Can rdf4j work on IntelliJ IDEA or it works on Eclipse only? If it can work on IntelliJ, could anyone show me how?
RDF4J is a library that can be used within any Java IDE such as IntelliJ IDEA, Visual Studio Code, Eclipse IDE or NetBeans.
If you use IntelliJ IDEA, you can import the project from GitHub using the menu Git -> Clone ... and using https://github.com/eclipse/rdf4j as the URL.
You can then open an example, by navigating in the Project window to rdf4j -> examples -> src -> main -> java -> org.eclipse.rdf4j.examples -> model and then right click on the green arrow, on the left of the source code, to run it.
Related
I'm working on a group project with Github and Eclipse. My partner has done a lot of work on a GUI and put his work on Github and then I have imported his work through eclipse. For some reason I can not open a design view at all, theres no buttons down the bottom to switch between design and source, trying to open in windowbuilder editor just opens up the code, running the project just says "Unable to Launch, the selection can not be launched". I know I have everything installed properly because I made a test project with a GUI and it has everything above working fine. We both have same versions of everything so I'm really just not sure what to do beyond manually restarting it on my end and copying and pasting code to get it to work.
You can try: Right click in class -> Open With -> Select your design view editor
Okay, I got it to work.
I was importing it directly through eclipse > GIT > Clone. and it wasnt working. but for whatever reason when I cloned it through git onto my desktop and then imported it that way through eclipse, Import > General > Projects from folder. it worked fine.
So, today in the morning I closed down IntelliJ(2017.3.3) after doing some programming as usual and everything worked great. Now suddenly when I try to open any of my projects this is the view I am greeted with:
After searching for a solution for this issue I managed to get the projects working by doing the following steps:
File -> Project Structure -> Modules -> + -> Import -> The project .iml file
File -> Project Structure -> Project -> Project SDK -> Java 8 in my case
File -> Project Structure -> Project -> Project language level -> 8
File -> Project Structure -> Project -> Project compiler output -> The path to the out folder of the specific project(the whole path from D:\ to it)
Navigate to Main class in project structure and alt+enter to add it to run configurations.
Finally able to run the project
Now this would be fine if I had to do it once, configuration corruption or whatever happens, but I have to do this every single time I open a project for some reason. I tried restarting my PC, reinstalling 2017.3.3, installing 2018.1 and the issue persists whatever I do. Also there were no visible errors in relation to this issue in any of the above scenarios, steps, installs and so on.
Well it turns out the issue was related to me using OneDrive to backup my data. I assume OneDrive updated at some point and activated Files On-Demand. The issue is documented here. For me personally a solution that worked was:
Right click the OneDrive tray icon
Click settings
Click the settings tab
Disable the Save space and download files as you use them option under Files On-Demand.
Wait for your files to sync up completely, IntelliJ project load is back to normal.
I tried disabling Themed status bar in Material Theme Advanced Settings and it started working for me.
From: IntelliJ IDEA > Preferences > Material Theme > Advanced Settings > Other Tweaks Tab
Disable "Themed Title Bar" by unchecking the box here.
i'm running Eclipse luna and my eclipse suddenly showing like this. This happens whenever i see xml in Graphical layout. I don't know what made it to be. Any help would be much better.
1.Open Windows -> Perspective -> Other -> Select Java (default) and open Windows again and select reset perspective
Or
2. Windows -> ResetPersspective
hope you help
I've got a project written in Java language, i made it in NetBeans IDE, but now i want to migrate to IntelliJ IDEA, the problem is that when i try to open a form into IntelliJ GUI Designer i can't edit my forms, IntelliJ tells me that it's not compatible.
This post says that:
Currently there is no "Import NetBeans project" functionality in IntelliJ IDEA. However, in IntelliJ IDEA you can create a new project with existing sources. So in many cases moving the project to IDEA is not a complex operation, you can create a new project from existing sources using the "File | New Project" action. You can ask IntelliJ IDEA to use the same directory as your NetBeans project is using. IntelliJ IDEA then adds .iml file (idea module file) and .idea configuration directory. The NetBeans .nbproject directory and build.xml remain untouched, so you can continue using IntelliJ IDEA along with NetBeans.
But if i add the sources of my project to IDEA project i can't open my forms.
I've searched and found that using JFormDesigner would be an option, but i would like to know if there's another way, if not how would i use JFormDesigner?
On Mac OSX running the latest JDK, my IntelliJ 9.0.3 pops up these incredibly annoying and persistent windows:
This stuff compiles and runs fine, the JDK is definitely operational on this machine. It should be a java.util.string, not some other apache string.
what is this supposed to be, and how do i get rid of it? Thanks!
Found it!
In intellij idea 14, go to
settings -> editor -> general -> auto import, and untick 'show import popup', under the java/kotlin/xml/... section.
That will fix it.
My guess is that you have not configured the Java SDK that your project is using.
File -> Project Structure -> Project -> Project SDK, choose one, make sure it doesn't show in red.
You can ignore certain packages & classes from the import-popup.
See the answer here: Limiting IntelliJ IDEA import suggestions on completion