|
-
April 27th, 2000, 10:59 PM
#1
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
-
April 28th, 2000, 02:42 AM
#2
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 !
-
April 28th, 2000, 03:05 AM
#3
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|