J
Jack Dowson
Hello everybody:
I have a problem when I excuted a jar file.
My manifest.mf if as follow:
Manifest-Version: 1.0
Created-By: 1.5.0_02 (Sun Microsystems Inc.)
Main-Class: WebBrowser
(My programe can run when I use command "java WebBrowser")
When I used "jar cfm WebBrowser.jar MANIFEST.MF *.class" to create
WebBrowser.jar and then excuted it,my jvm poped out a message:
"Failed to load Main-class manifest attribute form F:\java\Small
system\exploer\WebBrowser.jar"
I've set the right classpath,why?
Any help will be greatly appreciated!
Dowson
I have a problem when I excuted a jar file.
My manifest.mf if as follow:
Manifest-Version: 1.0
Created-By: 1.5.0_02 (Sun Microsystems Inc.)
Main-Class: WebBrowser
(My programe can run when I use command "java WebBrowser")
When I used "jar cfm WebBrowser.jar MANIFEST.MF *.class" to create
WebBrowser.jar and then excuted it,my jvm poped out a message:
"Failed to load Main-class manifest attribute form F:\java\Small
system\exploer\WebBrowser.jar"
I've set the right classpath,why?
Any help will be greatly appreciated!
Dowson