JVRunnableJar

This tutorial will explain how to export your written projects as runnable jar archives.

Export your project as runnable jar file

  1. Make sure you know the name of the run configuration to use for your project.
  2. Right-click the main java class of your project, i.e. the class which contains the static main - method and is launched by your run configuration. In JavaView, these classes usually start with Pa..., i.e. PaMyProject.
  3. Hit "export" and select "Java" - "Runnable JAR file". Hit "next".
  4. Under "Launch Configuration" select the run configuration you used to use for starting your project. Under "Export destination" select a path and file name your jar file will be saved to. Under "Library handling" make sure that the option "Extract required libraries into ..." is selected. Hit "Finish".
  5. Most likely you can ignore any upcoming warnings.
  6. Ensure yourself that your program runs by double-clicking the generated jar file.

Comments

 

This topic: AGGeom > JavaView > JVRunnableJar
Topic revision: 20 May 2015, MartinSkrodzki