G
Grzesiek
When i double -click my jar file in dist folder everything is ok, but
when i copy it to another folder and then i double click it again i
get message box:
"Could not find the main class. Program will exit"
Here is my manifest file:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0_01-b06 (Sun Microsystems Inc.)
Main-Class: myPackage.MyClass
Class-Path: lib/log4j-1.2.14.jar
X-COMMENT: Main-Class will be added automatically by build
The problem started when i added lib/log4j-1.2.14.jar to Class-Path.
What can i do?
Thanx
when i copy it to another folder and then i double click it again i
get message box:
"Could not find the main class. Program will exit"
Here is my manifest file:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0_01-b06 (Sun Microsystems Inc.)
Main-Class: myPackage.MyClass
Class-Path: lib/log4j-1.2.14.jar
X-COMMENT: Main-Class will be added automatically by build
The problem started when i added lib/log4j-1.2.14.jar to Class-Path.
What can i do?
Thanx