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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..