J
JPractitioner
Hi guys,
I'm using windows 2k server with
Java version "1.5.0_06",
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
and
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing).
the followings are the steps i went through which lead me to this
problem.
1. Got my cmd promt to the working directory where i have all my
..classes
2. Typed command: jar cf MyJarFile.jar *.class
3. Created a manifest file, named it "update.txt" with the following
content
Manifest-Version: 1.0
Main-Class: MyMainClass
Created-By: 1.5.0 (Sun Microsystems Inc.)
4. Typed command: jar umf update.txt MyJarFile.jar.
5. I got the following output on the cmd prompt
Feb 26, 2006 4:59:27 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Manifest-Version
Feb 26, 2006 4:59:27 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Created-By
6. I tried double clicking MyJarFile.jar, the mouse cursor changed to
the hourglass, and at the taskmanager, on the process tab, i saw
javaw.exe was run. (was a 7768 K process)
7. No 6 scenario only happened for one ore two seconds, then the mouse
cursor returns to normal pointer image and the javaw.exe was turned
off.
8. I end up with nothing being run
9. googling for answers and posting in smart java people's forum (yes,
this google group)
Please help me.
Thanks (a lot) in advance
I'm using windows 2k server with
Java version "1.5.0_06",
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
and
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing).
the followings are the steps i went through which lead me to this
problem.
1. Got my cmd promt to the working directory where i have all my
..classes
2. Typed command: jar cf MyJarFile.jar *.class
3. Created a manifest file, named it "update.txt" with the following
content
Manifest-Version: 1.0
Main-Class: MyMainClass
Created-By: 1.5.0 (Sun Microsystems Inc.)
4. Typed command: jar umf update.txt MyJarFile.jar.
5. I got the following output on the cmd prompt
Feb 26, 2006 4:59:27 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Manifest-Version
Feb 26, 2006 4:59:27 PM java.util.jar.Attributes read
WARNING: Duplicate name in Manifest: Created-By
6. I tried double clicking MyJarFile.jar, the mouse cursor changed to
the hourglass, and at the taskmanager, on the process tab, i saw
javaw.exe was run. (was a 7768 K process)
7. No 6 scenario only happened for one ore two seconds, then the mouse
cursor returns to normal pointer image and the javaw.exe was turned
off.
8. I end up with nothing being run
9. googling for answers and posting in smart java people's forum (yes,
this google group)
Please help me.
Thanks (a lot) in advance