Project Explorer and workspace issue in Eclipse - java

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

Related

rdf4j on IntelliJ IDE?

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.

JavaFx not showing up in preferences window

I am trying to work with JavaFx for the first time . Right now, I cannot see the option for JavaFx in my preferences window (Eclipse -> Preferences -> JavaFx?) as shown here:
Preferences Window.
I have Java 1.8.0. installed on my mac.
Eclipse itself does not know anything about JavaFX and in fact it does not have to because a JavaFX program is nothing but a plain Java program.
In order to get some additional tooling you can however install this plugin. e(fx)clipse This is helpfull but not necessary to write a JavaFX program in Eclipse.
Sometimes you may need to manually look up the repository.
I used this walkthrough to do it Install efxclipse into eclipse
The actual repository is here (as of Feb 24,2020): http://download.eclipse.org/efxclipse/updates-released/3.0.0/site
You will need to restart your Eclipse instance.

An error opening a new project in Eclipse

I've downloaded the JDK and Eclipse and started learning how to code in Java.
All of a sudden when I try to open a new project, I get this screen saying "select a wizard" with nothing to select. It won't let me continue.
I uninstalled and re-installed the software (although it worked fine before) but the problem remained.
What can I do?
I may be wrong but ... I'd say it is just a problem of the window size. Try resizing the "New Project" dialog to show its actual content :-)
Use another perspective, for example Java, JAVA EE
go to in menu Window -> Show View -> Other and select the perspective you like
Or access menu File New Project and select one time of the project
You have downloaded a wrong version of Eclipse. You can find the right one here
https://www.eclipse.org/downloads/

Java classes won't open in Eclipse

I've tried cleaning and validating my project, restarting both Eclipse and my computer and my java class files won't open in the editor. Also, I've tried deleting the project from my workspace and reimporting it and no luck. Does anyone know what it might be?
Window -> Reset Perspective worked for me
Try this Right Click on File -> Open With -> Java Editor
Make sure you are in the Java perspective.
Try cleaning eclipse. Start eclipse with
eclipse --clean
Hope this helps.
make sure that a single click is selected for open mode. if you go to preference setting, it will be the first thing you will see

How to get IntelliJ From making annoying blue popups?

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

Categories