• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar file

 
Jo Lee
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello;

How do I create .jar file, and once created, how do I deploy it, then, if I need to modify the source code again, how do I expand the .jar file.
Thanks for your help
Jo
 
Jo Lee
Ranch Hand
Posts: 35
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find the information from the following website:
http://java.sun.com/docs/books/tutorial/jar/basics/
Thanks
Jo
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To create a jar file, use the jar tool that comes with the JDK. From the command line type: "jar" and it will show you the different commandline options.
The most common command to create a JAR file looks like this:
"jar cvf file.jar com\hp\blah\* "
To un-jar a jar file, you can use a program like Winzip.
For more info, check out this little guide:
http://java.sun.com/products/jdk/1.1/docs/tooldocs/solaris/jar.html
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic