I have written a java application with several classes, that use two zip files in its Classpath. I tried to creat an exacutable jar file and am having problems. The JAR runs the main class, but does not recognize the Classpath files.
I tried two Manifest file and can not get the JAR to run:
File I:
Class-Main = main - Note: I did not use any
extensions or folder
Class-Path = Jarone.jar Jartwo.jar - Note: Use space
to delimte entries and no
folders.
File II:
Class-Main = folder/main
Class-Path = folder/Jarone.jar; folder/Jartwo.jar
Any help would be appreciated. Also, does anyone know of a Jar builder program? I found JARBUILDER, but it did not include all the class files in my jar. Thanks
I tried two Manifest file and can not get the JAR to run:
File I:
Class-Main = main - Note: I did not use any
extensions or folder
Class-Path = Jarone.jar Jartwo.jar - Note: Use space
to delimte entries and no
folders.
File II:
Class-Main = folder/main
Class-Path = folder/Jarone.jar; folder/Jartwo.jar
Any help would be appreciated. Also, does anyone know of a Jar builder program? I found JARBUILDER, but it did not include all the class files in my jar. Thanks