Jump to content
  • 0

Build failed


Question

Posted (edited)

Help me to solve this please


BUILD FAILED
C:\Users\Admin\Desktop\l2\l2jfrozen\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\jre1.8.0_191"

Edited by Rio

5 answers to this question

Recommended Posts

  • 0
Posted
11 hours ago, Rio said:

Help me to solve this please


BUILD FAILED
C:\Users\Admin\Desktop\l2\l2jfrozen\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\jre1.8.0_191"

 

Eclipse -> Window -> Preferences -> Ant -> Runtime -> Ant Home Entries(Default) -> Add external Jars -> [Find path of tools.jar in jdk kit folder] and load it -> Save and apply. 

  • 0
Posted

What x2..

 

13 hours ago, Rio said:

does not point to the JDK.

 

13 hours ago, Rio said:

It is currently set to "C:\Program Files\Java\jre1.8.0_191"

Error is clear. If you follow ANY guide regarding l2 compilation, you would know that in order to compile the pack, you must have and select JDK.

 

- Window > Preferences
- Java tab > Installed JREs

Push "Search..." and go to the Java, jdk path and select it.

  • 0
Posted
2 hours ago, SweeTs said:

- Window > Preferences
- Java tab > Installed JREs

Push "Search..." and go to the Java, jdk path and select it.

As sweets said..

Click at Search and select the jdk path 1.7(frozen uses 1.7)

3zYAA.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...