Adding a class to a jar

Pretty easy to do

c:\junk>dir
 Volume in drive C is OSDisk
 Volume Serial Number is 3C36-1DA9

Directory of c:\junk

12/07/2011 09:58 AM <DIR> .
12/07/2011 09:58 AM <DIR> ..
12/07/2011 09:56 AM <DIR> com
12/07/2011 09:29 AM <DIR> etc
12/07/2011 08:36 AM 295,229 myjar.jar
12/07/2011 09:55 AM <DIR> tmp
 1 File(s) 295,229 bytes
 5 Dir(s) 186,890,629,120 bytes free
c:\junk>jar -uf myjar.jar com\xxx\jbapi\myclass.class

c:\junk>dir
 Volume in drive C is OSDisk
 Volume Serial Number is 3C36-1DA9

Directory of c:\junk

12/07/2011 10:00 AM <DIR> .
12/07/2011 10:00 AM <DIR> ..
12/07/2011 09:56 AM <DIR> com
12/07/2011 10:00 AM <DIR> etc
12/07/2011 10:00 AM 297,207 jbapi-2.0.jar
12/07/2011 09:55 AM <DIR> tmp
 1 File(s) 297,207 bytes
 5 Dir(s) 186,890,010,624 bytes free

c:\junk>

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s