Jar files ??????????????????????????????
Please I have some questions about jar files:
1) How can I make a jar executable, for example if I have lot of classes in a java application and I want to create
a jar file that I can run it with java command instead of having lots of classes in the directory,
2) how about if it's not application, it's applet
3) how can I see or extract classes from jar file.
Thanks
Re: Jar files ??????????????????????????????
Use Jar.exe thats comes with the JDK 1.2, look in "bin" directory.
It doesnt matter if your class is application or applet.
Use a zip-program to open and extract jar-files, eg. WinZip. Use the "show all files" option and point to your jar-file. Jar files is basicly zip files that has been added a manifest. Hope this helps !
Re: Jar files ??????????????????????????????
hai,
jar cfm samp.jar *.class
in applet tag-
<applet class=samp.class archive="samp.jar" width=500 height=500> </applet>
while extraction give
jar xvf samp.jar
if any problem write to [email protected]
regs
bharath