|
Problem: how to create an
executable jar-file that will run by double-clicking on it?
I have tried the following on the HelloUniverse
example:
1. Create a manifest.mf file containing the line:
"Main-Class: HelloUniverse"
2. Run "jar cvfm SimpleUniverse.jar manifest.mf
*.class"
If I double-click on SimpleUniverse.jar the JVM tells me it
could not find the main class. However I am
able to run the same jar by typing "java -jar HelloUniverse" from
a command prompt, but this is not very friendly to use for my users. Note that
this problem does not occur with non-J3D applications or any
of the Java2 demo's because they run just fine by double-clicking on it. Any
ideas?
- Rudolf
PS. I am using JDK 1.3 beta and J3D 1.2 alpha on Windows
98.
|
- Re: [JAVA3D] Executable JAR-files with Java 3D? Rudolf J.C. Buijs
- Re: [JAVA3D] Executable JAR-files with Java 3D? Vladimir Olenin
- [JAVA3D] MouseBehavior Bernard Choi
- Re: [JAVA3D] MouseBehavior Chris Mc Clements
- [JAVA3D] OpenGL software and hardware have ... Kovalan Muniandy
- Re: [JAVA3D] OpenGL software and hardwa... Rudolf J.C. Buijs
- Re: [JAVA3D] OpenGL software and hardwa... Daniel Selman
