cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Jar files

Former Member
0 Kudos

Hello friends,

How to create jar files

Accepted Solutions (0)

Answers (3)

Answers (3)

GabrielSagaya
Active Contributor
0 Kudos

Hi

<b>To create a JAR file</b> jar cf jar-file input-file(s)

<b>To view the contents of a JAR file</b> jar tf jar-file

<b>To extract the contents of a JAR file </b> jar xf jar-file

<b>To extract specific files from a JAR file</b> jar xf jar-file archived-file(s)

<b>To run an application packaged as a JAR file (requires the Main-class manifest header) </b>

java -jar app.jar

<b>To invoke an applet packaged as a JAR file</b>

<applet code=AppletClassName.class

archive="JarFileName.jar"

width=width height=height>

</applet>

pls visit

http://java.sun.com/docs/books/tutorial/deployment/jar/

http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html

http://en.wikipedia.org/wiki/JAR_(file_format)

with regards

Gabriel

Former Member
0 Kudos

Check the following link

http://www.javacoffeebreak.com/faq/faq0028.html

Warm Regards,

Vijay

Former Member
0 Kudos

Hi

you can use an IDE like Eclipse or NWDS to create the jar files you want

regards

krishna