Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

While creating new Java project in Eclipse I got following warning "The current workspace uses 1.4 JRE..."

I have JRE7 on my system. I have added following lines in eclipse.ini

-vm 
C:Javajre7injavaw.exe  

I have added JRE7 to Installed JREs through Windows -> Preferences-> Installed JREs. enter image description here
Still under Compiler tab I can see only compiler compliance level till 6.
enter image description here
How can I change workspace JRE to JRE 7 ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
329 views
Welcome To Ask or Share your Answers For Others

1 Answer

Java 7 support is only available since Eclipse Indigo SR1 (released about a month ago). So, upgrade Eclipse.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...