aris96 Posted July 30, 2015 Posted July 30, 2015 (edited) BUILD FAILED C:\work\L2jFrozen_GameServer\build.xml:65: Unable to find a javac compiler; 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" i already set java_home and path: http://postimg.org/image/3tq5j6bcf/ http://postimg.org/image/67nhhgtbf/ http://postimg.org/image/4prnec6b9/ what am i doing wrong? Edited July 30, 2015 by aris96
0 aris96 Posted July 30, 2015 Author Posted July 30, 2015 (edited) change the java at eclipse, set jdk 1.7 on installed jres? Edited July 30, 2015 by aris96
0 aris96 Posted July 30, 2015 Author Posted July 30, 2015 3rd screen, you have to set JDK, not jre. i set jdk and now i got this error: http://postimg.org/image/vv4y0l9zl/ i used this solution: First install java jdk kit 7 on your pc then open eclipse Go to Window / preferences / Ant /Runtime / Select Ant Home Entries (default) and click add external jars... / navicate to jdk1.7.0_13 folder then Lib and select tools.jar and open then just click ok and then compile again and still the same error pops up
0 SweeTs Posted July 30, 2015 Posted July 30, 2015 (edited) It's new Eclipse Mars project known issue. It's caused by C://Program%20Files/.. - when the folder has 2 words, is separated with a "space" %20 is put and so, you got that issue. Move the Eclipse folder into disc C:// or any folder with single folder name and everything will be okay. Edited July 30, 2015 by SweeTs
Question
aris96
Edited by aris96
7 answers to this question
Recommended Posts