Using JRE 1.8 settings, but JRE remains at 1.4 with compliance 1.7 [message #1459671] |
Sun, 02 November 2014 20:00 |
tgm 1024 Messages: 8 Registered: November 2014 |
Junior Member |
|
|
Windows 7 ultimate/64
Version: Kepler Service Release 2 / Build id: 20140224-0627
I have a 1.8 JRE installed in c:\Java64\jre8
c:\Java64\jre8\bin\java -version shows 1.8
c:\Windows\System32\java -version shows 1.8
In eclipse:
Windows->Preferences->Java->Installed JREs has the following checked (only entry):
Name: jre8 (default)
Location: c:\Java64\jre8
Type: Standard VM
But when I create a new java project, the wizard says on the bottom the following warning:
"The current workspace uses a 1.4 JRE with compiler compliance level 1.7. This is not recommended and either the JRE or the compiler compliance level should be changed."
Where is it getting this sense of a 1.4JRE?
No, synchronized method declarations will not get you out of this newbie multithreading pitfall:
thing.set(thing.get() + 1);
|
|
|
|
Powered by
FUDForum. Page generated in 0.02752 seconds