Home arrow static arrow Java Programming [Archive] - How to build a *.jar-File?
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - How to build a *.jar-File?
This topic has 3 replies on 1 page.

Posts:5
Registered: 12/11/02
How to build a *.jar-File?  
Jun 26, 2003 1:49 AM



 
Hi,

I just started java-programming and I try to run my first java-programm(Hello World) on a PDA. The PDA needs a .jar-file to execute the programm. All I know about jar-files is, that it is a file which inclueds the .class-file alredy.

Can you tell me how I create a .jar-file?

Thanks,
Cindy
 

Posts:98
Registered: 00/10/26
Re: How to build a *.jar-File?  
Jun 26, 2003 1:52 AM (reply 1 of 3)



 
jar cvf first.jar MyClass1.class MyClass2.class 
 

Posts:5
Registered: 12/11/02
Re: How to build a *.jar-File?  
Jun 26, 2003 2:03 AM (reply 2 of 3)



 
That works pretty good...

Thanks a lot

Cindy
 

Posts:7
Registered: 3/3/04
Re: How to build a *.jar-File?  
Jul 29, 2004 2:12 PM (reply 3 of 3)



 
I have a question for classpath setting on PDA.
I use the following shortcut on PDA with Compaq Pocket PC and Jeode JVM. In the java application, I use another resource oxf.jar file. When I start application, it can not find ofx.jar.

How to set classpath on PDA if using another source jar file?
55#\windows\evm.exe -cp \Windows\lib\oxf.jar;\windows\lib\testPDA Maintest

If I use jar file to run program, Can I make a jar file that include another jar file?

Thanks a lot,

Eugene
 
This topic has 3 replies on 1 page.