Windows console command:
c:\..path..>java -jar TestApp.jar
results in: Error could not find or load main class com.test.Main
I'm using IntelliJ 14 and my artifact layout looks like this:
TestApp.jar/
--client.jar <----- com.test.Main is located here
--jogl/
----gluegen.jar
----jogl-all.jar
--META-INF/
----manifest.mf
Manifest file info:
Main-Class: com.test.Main
Class-Path: client.jar;jogl/gluegen-rt.jar;jogl/jogl-all.jar;
but when I run code in IntelliJ, it is succesfull.