Computer Science Canada

Java Jar

Author:  copthesaint [ Thu May 19, 2011 8:44 am ]
Post subject:  Java Jar

Alright so I spent all this time reading this tutorial
http://download.oracle.com/javase/tutorial/deployment/jar/index.html
And still dont know how to jar a simple HelloWorld program -_- lol. Can anyone help please?

Author:  2goto1 [ Thu May 19, 2011 9:04 am ]
Post subject:  RE:Java Jar

What Java IDE do you use? Eclipse and Netbeans should allow you to do this, either with built-in IDE features, or using integration with third party tools such as ANT.

Netbeans example: http://wiki.netbeans.org/PackagingADistributableJavaApp
http://stackoverflow.com/questions/602537/producing-executable-jar-in-netbeans

Eclipse example:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/tasks-33.htm

This resource shows use of the Java JAR command line tool:

http://viralpatel.net/blogs/2008/12/create-jar-file-in-java-eclipse.html


: