You are not logged in.

#1 2008-01-10 15:10:18

mirosol
Member
From: Turku, Finland
Registered: 2007-12-11
Posts: 10

Problem with .jar archive... </solved>

I just decided to try hacking one of firefox's themes. I extracted theme's .jar file, made my modifications and now i'm not sure how to repack the .jar. Have fastjar installed, "but fastjar -c /home/mirosol/Desktop/kdeff-0.4-fx/*.* test.jar" doesn't do anything.. I guess my noobism shows in this that i don't know how to use fastjar...

So. Is there any way to make java archives in some gui-based app, or is there something in fastjar commandlinetool i don't understand.. Tried 7zip, ark and archive manager. Those don't seem to know how to make jars...

Thank you in advance.

Last edited by mirosol (2008-01-10 16:32:22)


GaragePunkRock'n'Roll!!!

Offline

#2 2008-01-10 16:00:25

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with .jar archive... </solved>

There is a jar utility in j2sdk AFAIK if you search for something else.

With fastjar, the following should work:

fastjar -cf test.jar $YOURDIR/*

extracting should work with

fastjar -xf test.jar

You can customize it of course if you need a slightly different structure inside your jar wink

Last edited by pressh (2008-01-10 16:00:45)

Offline

#3 2008-01-10 16:31:59

mirosol
Member
From: Turku, Finland
Registered: 2007-12-11
Posts: 10

Re: Problem with .jar archive... </solved>

Thanks.


GaragePunkRock'n'Roll!!!

Offline

Board footer

Powered by FluxBB