Dulens. Posted January 21, 2012 Posted January 21, 2012 Εχω αυτο το προβλημα οταν τρεχω : Ant Build. com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre7" Total time: 1 second
0 nikolakisgk Posted January 21, 2012 Posted January 21, 2012 Pas Window > Preferences > diplo click panw sto ant > Run Time > epilegis to proto classpath(ekei pou einai to ant sou) kai meta patas external jars kai pas ston fakelo tou jdk/lib C:\Program Files\Java\jdk1.7.0_02\lib auto edw einai se mena otan pas ekei epilegis to tools.jar kai eisai etimos,pata okay kai kane compile
0 Dulens. Posted January 22, 2012 Author Posted January 22, 2012 Pas Window > Preferences > diplo click panw sto ant > Run Time > epilegis to proto classpath(ekei pou einai to ant sou) kai meta patas external jars kai pas ston fakelo tou jdk/lib C:\Program Files\Java\jdk1.7.0_02\lib auto edw einai se mena otan pas ekei epilegis to tools.jar kai eisai etimos,pata okay kai kane compile Ok Problem Fixed! Lock Topic.
Question
Dulens.
Εχω αυτο το προβλημα οταν τρεχω : Ant Build.
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre7"
Total time: 1 second
3 answers to this question
Recommended Posts