Hi.
I have a set of files in a package called samspackage in a project called Application. This contains a class file with the main method in it called Program
I have set the main class as samspackage.Program
However, when I try to double click on the jar file Application.jar, found in the dist folder of the project's home directory Application, I get the following message:
Could not find the main class. Program will exit.
I can not see why this is so because my manifest file looks like this:
Manifest-Version: 1.0
Ant-Version: Apache
Ant 1.6.5
Created-By: 1.6.0_01-b06 (Sun Microsystems Inc.)
Main-Class: snpviewerpackage.Program
Class-Path: lib/JavaClient lib/swing-layout-1.0.jar
X-COMMENT: Main-Class will be added automatically by build
with two blank lines underneath the last line.
Any ideas?
Thanks