Eclipse 3.4.2 compiling Java 1.6 on Mac OSX

My Eclipse 3.4.2 does not compile Java 1.6 on Mac OS 10.5.6, does anyone work here? It seems that no matter which JRE I choose, it continues to compile using 1.5.

+5
source share
2 answers

You can enter your application properties.

Right click on project-> properties-> Java Compiler

Then click "Enable custom project settings." And select compiler compliance level: 1.6

: , . Fedora 10 , : "yum install eclipse", IBM javac, REFUSED java 1.6, , , 1.6.

, : , java javac .

java

javac

.

, JRE , , .

+3

: , ​​Java 6?

, :

/System/Library/Frameworks/JavaVM.framework/Versions

1.6.

1.6, JRE Eclipse?

: Pref → Java → JRE ( JDK 6), , :

/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

, Java- 1.6 Eclipse Mac .

. , , .

, SoyLatte JDK, Java Mac BSD OpenJDK.

+1

All Articles