OESF Portables Forum

Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: rrashkin on May 25, 2004, 10:59:01 am

Title: executing (say) jSolun from command line
Post by: rrashkin on May 25, 2004, 10:59:01 am
Greeting.
I\'m having trouble executing a Java app I downloaded from the Software Index.  For reasons that seem ok to me, I didn\'t want to \"install\" it but just put the .jar file on my system and execute it manually.  First of all, the site claims that it works on the Z.  Second of all, I can execute it on my PC just fine (the syntax for \"java\" is a little different from \"evm\").
I put the downloaded jar file, jSolun100c.jar, on my SD card, under QtPalmtop/java.  If I look at the jar file on the PC (jar tf jSolun100c.jar), it appears that the \"main\" class is \"JSolun\".  

Then I type in at the console:
cd /mnt/card/QtPalmtop/java

then:
evm -cp /mnt/card/QtPalmtop/java/jSolun100c.jar JSolun

I get what I gather from posts here is a classic: \"java.lang.NoClassDefFoundError: JSolun\"

Any ideas what I\'m doing wrong
Title: executing (say) jSolun from command line
Post by: rrashkin on May 25, 2004, 02:25:31 pm
Never mind.  It turns out (after reading the manifest) that the main class is \"jSolun.JSolun\".