View Full Version : double clicking jar files on the desktop
schnook
08-30-2002, 02:03 PM
When I try to double click any jar file it always comes up with can not find main class. Is anyone else encountering this difficulty? I am using 10.1.3 It doesn't seem to matter how the jar files were built.
:cool:
driverdave
09-16-2002, 01:11 AM
When you compile your jar file, you have to include a main class manifest file when compiling. If you don't, you'll get that error.
The file should look something like this
Main-class: TestApp
Thats it. One line.
man jar for more info
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.