View Single Post
Old 05-09-2007, 09:12 AM   #17
narve
iLiad fan
narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.narve can teach chickens to fly.
 
Posts: 210
Karma: 3864
Join Date: Oct 2006
Device: iRex iLiad
Quote:
Originally Posted by tororebelde
My first tricks with java over iliad. This is what I'm doing:

Compile a dummy class that show a silly message (on com/irex/sdk):
Code:
javac -source 1.2 -target 1.2 MyOwnTest.java
Create a java package with this new stuff:
Code:
jar cvfm javi.jar Manifest -C com/ .
You should attach your jar-file, but unless I read it wrong (I don't use jar command line anymore) it should just be
Code:
jar cvfm javi.jar Manifest com
Otherwise the class file will be included with wrong fileprefix (the "com" folder prefix isn't included). You can verify this by opening the jar file in WinZip, 7-zip or similar.
narve is offline   Reply With Quote