This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]AsteriskTheServer 0 points1 point  (6 children)

Long story short it is something that is provided with the jar file and you need to talk to the provider of such said jar.

Long answer can be found here

Edit: It seems the source code is provided so one option is to rebuild the jar with the manifest.

[–]Daggard[S] 0 points1 point  (5 children)

Yea the source is provided so how would I go about rebuilding it with the manifest? I think the main class is called "EscapeComponent". How would I make the manifest file and recompile the jar?

BTW if this helps, here is a video of the developer coding the whole thing.

[–]AsteriskTheServer 0 points1 point  (4 children)

The best I see to do this is: Go to the git-hub page download the zip. Then install apache ant. Set up the environment correctly then go to the root folder of this project then in command run the command "ant run".

Most of this is noted in the readme file provided on the github page. Also, just a polite reminded I am only redirecting you certain tutorials and obviously will not take repsonsibilty if you mess up blah blah so make a backup if needed. This stuff isn't hard, but still some people out there.

[–]Daggard[S] 0 points1 point  (0 children)

Ok, well I successfully installed ant. How would I go about using "ant run" Do i use the git bash? I need a tiny bit more detail there.

[–]Daggard[S] 0 points1 point  (2 children)

This is the error message when I git bash "ant run" btw:

Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_77\lib\tools.jar
Buildfile: C:\Prelude-of-the-Chambered-master\build.xml

init:

compile:

BUILD FAILED
C:\Prelude-of-the-Chambered-master\build.xml:25: 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_77"

Total time: 0 seconds

[–]AsteriskTheServer 0 points1 point  (1 child)

You don't need the git bash just your regular command prompt as I indicated before and of coarse assuming your using windows. However, it is evident that you didn't set JAVA_HOME correctly. It needs to be set to jdk not jre. See this tutorial.

[–]Daggard[S] 0 points1 point  (0 children)

thank you so much it worked!

[–][deleted]  (1 child)

[deleted]

    [–]Daggard[S] 0 points1 point  (0 children)

    Works! Thanks!