JVM Launcher error - help
I am using win98, and I have associated jar files with javaw.exe located in jdk1.3.1_01/bin. When I double clicked the .jar files in demo (comes with jdk), a message comes up saying "Could not find the main class. Programs will exit". What should I do to solve this problem.
[302 byte] By [
beelu] at [2007-9-26 11:29:17]

Would help to say which demo and which jdk version.
Best guess something is wrong with the jar. Double clicking on a jar only works if the jar is 'executable'. That means that the manifest file has to indicate the class that it needs to start. The manifest file in that particular demo would appear to be wrong.
demo files are from jdk1.3.1_01 as well. I have solved the problem from the "JAR File" section of this forum, I need to associate ".jar" with "javaw" and add -jar "%1" to it (In the "file type" in "options" of File Manager"). This is okay with Win98. I also have a machine on win2000, however, it doesn't allow you to add -jar "%1" to "javaw", so I don't know what to do there?
beelu at 2007-7-2 0:43:25 >
