IDE Tutorials CSE 219 Fall 2005


  TOC: AkA Tactical Operations Center
Table of Contents: NetBeans Eclipse
Basics Tutorial NetBeans Eclipse
Debugging Tutorial NetBeans Eclipse
JUnit Testing Tutorial NetBeans Eclipse
CVS Tutorial NetBeans Eclipse
JAR Files Tutorial NetBeans Eclipse
CSE 219 HomePage

Making Jars

Jars allow you to have one file that is easy to deploy for your project, and in eclipse its rediculously easy.

http://www.eclipse.org/

  The Opening
Open up the project you wishto create a jar of in eclipse and then goto file export.




  Making a Jar
The next step is to select jar file from the list of export destinations.




  Select What to export
Now we select what we want to export as a jar and where we want to place the jar. This is as easy as clicking the check box next to your project name.




  Options
This page allows you to deal with warnings and errors when the jar is build it isnt important and you can move on by clicking next.




  More Options
This sections is used for manifest options and sealing the jar. Neither of these are important right now however we want to select the main class that will be run when we execute the jar. To do this click browse.




  Selecting Main
Just like when we create a runtime profile we can select the main class. Select your main and click OK.




  And we are done
At this point the only thing left to do is click finish and the jar file will be created.






(c) David Quigley