Making jar executable w / external jar (JXL) in java ECLIPSE file
I cannot find a working solution for the jar executable. The program works fine in my Eclipse IDE, but when I try to follow the Eclipse instructions, the executable fails with the external JAR.
The JXL box is in my build path. Does anyone know how to get this to work through Eclipse? I have no command line access.
+3
user3349184
source
to share
1 answer
1.) Right-click the project, select the "Export ..." pop-up menu item.
2.) Select "Java â Runnable JAR file".
3.) Select a working run configuration to run your program through java -jar MyExecutable.jar
from the command line later. Select an output folder and file name. Select "Package required libraries in generated JAR".
+1
kriegaex
source
to share