Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Java jar file creation
Name: kindem Date: April 5, 2005 at 03:34:52 Pacific OS: windows xp CPU/Ram: not shure
Comment:
The problem is: I wrote a java application that displays a GUI and do some task I want to run my program from the desktop just with a double click on an icon
I created a jar file with the command jar cmf Manifest.txt MyJar.jar * From the directory which contains
-package called data (contains 4 classes) -Images (many) -manifest called Manifest.txt (Main-class: data/MyClass.main) -and a file file.txt (which the program uses)
The jar file included all the files and images When I run the jar file from another directory the pictures does not appear and file.txt is not accessed
Pleas tell me the mistake I made in creating the jar file or any other way of doing that.
Summary: Hello, This probably sounds like something that I could just simply look up on the internet, but not quite. I have put in 4 hours already trying to find my answer of how to create an executable .j...
Summary: I myself am a Java programmer, and have just discovered how to do this myself. You need to make an executable .jar file. Here is how this is done. 1. Make a text document named "Manifest.txt" and type...
Summary: I am not familiar with BlueJ, nor have I ever used Vista, so what I say may be wrong, but you could try this. Run RegEdit (I am not sure if Vista allows users to run RegEdit, but Windows XP does.) Go ...