Jump to content

Question

Posted (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:


 


 


 

what am i doing wrong?

Edited by aris96

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

change the java at eclipse, set jdk 1.7

on installed jres?

Edited by aris96
  • 0
Posted

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
Posted (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 by SweeTs
Guest
This topic is now closed to further replies.


×
×
  • Create New...