I had java jdk 1.6 installed, and today installed jdk 1.7 becaused needed to compile new project.
So changed JAVA_HOME from 1.6 path to 1.7 path and created project using jdk 1.7
when i tried to compile using ANT (build.xml) i got this error that cannot find javac1.7 class…
cheked compiler (preferences-java-compiler) and it is 1.6(also there is 1.5 .1.4) but no 1.7 which I need.
So, maybe someone knows solution for this problem?
Thank You.
sorr for bad english.
I had java jdk 1.6 installed, and today installed jdk 1.7 becaused needed to
Share
Be careful that :
Eclipse uses a specific compiler. They mention here what functions they added in Eclipse for the JDK1.7.