The manifest inside the CurrentStrobe jar files read as follows:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.0
Created-By: 10.0-b19 (Sun Microsystems Inc.)
Main-Class: com.visionpro.c urrentstrobe.Cu rrentStrobeApp
I added,
Class-Path: appframework-1.0.3.jar swing-worker-1.1.jar
and now it works just by issuing the following command:
java...
User Profile
Collapse
-
I was thinking of doing that.
I just wonder why this happens. I've used this syntax before without any problems. I'm sure it's a classpath issue but I don't know why it happens.
They say ignorance is bliss but I hate not understanding why.Leave a comment:
-
Exception in thread "main" java.lang.NoClassDefFoundError
I don't why I get this error:
Exception in thread "main" java.lang.NoCla ssDefFoundError
The statement below works just fine:
java -cp "appframewo rk-1.0.3.jar;swing-worker-1.1.jar";Curren tStrobe.jar com.visionpro.c urrentstrobe.Cu rrentStrobeApp
However, the statement below produces the error:
java -cp "appframewo rk-1.0.3.jar;swing-worker-1.1.jar"...
No activity results to display
Show More
Leave a comment: