GUI error: Could not find the main class. Program will exit.
From: thufir (thufir.hawat_at_mail.com)
Date: 12/30/04
- Next message: thufir: "Re: GUI error: Could not find the main class. Program will exit."
- Previous message: thufir: "installing ant for win2k"
- Next in thread: thufir: "Re: GUI error: Could not find the main class. Program will exit."
- Reply: thufir: "Re: GUI error: Could not find the main class. Program will exit."
- Reply: ge0rge: "Re: GUI error: Could not find the main class. Program will exit."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Dec 2004 22:54:28 -0800
"Java Virtual Machine Launcher
Could not find the main class. Program will exit." when foo.jar is
double-clicked from win2k.
"java -jar foo.jar" gives "Hello World!" on the terminal :)
why the error, pls?
/////////manifest.mf/////////////
Manifest-Version: 1.0
Created-By: JEdit
Main-Class: HelloWorldApp
/////////"jar -tf foo.jar"////////
META-INF/MANIFEST.MF
HelloWorldApp.class
thanks,
Thufir
- Next message: thufir: "Re: GUI error: Could not find the main class. Program will exit."
- Previous message: thufir: "installing ant for win2k"
- Next in thread: thufir: "Re: GUI error: Could not find the main class. Program will exit."
- Reply: thufir: "Re: GUI error: Could not find the main class. Program will exit."
- Reply: ge0rge: "Re: GUI error: Could not find the main class. Program will exit."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]