dir to jar-file
What utility/package shall I use to make a jar file?
|
you will use, well, jar :). If you have Java installed you should also have the jar utility. I'm not sure though, if you need to have Java SDK.
Now, if you are not going to deploy java applications in a executable-jar file, you are better of using other utitility as tar, bunzip or compress. Jar has a lousy compression rate. But then again, it was not truly made for that. Check this thread to learn how to use tar. Jar works the exactly same way, although, jar compress a file while tar does not. tar simply preserves the directory structure. Well, check the thread: http://www.linuxquestions.org/questi...&highlight=tar Regards! |
I need it for firefox since they use the jar format. I found ot that I need "The Java Archive Tool" but I have a hard time to find a download.
Thanks for your response. |
ok i tried to get the SDK from sun but its a binary install and it does not work on mandriva. And all i want is to pack a dir into a jarfile.
|
The bin file should work an any distribution. Check either the thread at the end of this message or Sun instructions to install Java(link also in this message). I still don't understand though, why you need Jar to compress a directory for Firefox(?). If you are actually trying to get the java "plugin" to run a few java applications within Firefox, the JRE would be enough.
http://www.linuxquestions.org/questi...40#post1841740 http://java.sun.com/j2se/1.5.0/install-linux.html |
Fixed it! I hade to add write and exec access. This was sloppy of me to miss it.
Thanks for the help. |
All times are GMT -5. The time now is 03:37 PM. |