Vra

Everytime I add/create or copy a Project inside my Eclipse-Workspace it will be recognized as a Java 1.4 Project, which leads to a sum of errors. I have to fix this myself under properties->java-compiler and check 1.6 there. So I have a few questions on that: Is it possible to pre-define which compiler Eclipse has to choose? Is there a config file telling eclipse which compiler to choose?

Was dit nuttig?

Oplossing

Check under Window -> Preferences -> Java -> Compiler. There is "Compiler compliance level", it should be set to your desired level. :)

If that does not work, go to the "New Java Project" dialog and pres "Configure JREs". Make sure your desired JRE is selected.

Ander wenke

Window->Preferences->Java->Compiler

Gelisensieer onder: CC-BY-SA met toeskrywing
Nie verbonde aan StackOverflow
scroll top