You are here: AGGeom » JavaView » 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.
  7. In the case of warning / error messages which say that the license file, resource files, icons etc. cannot be found, make sure that the exported JAR file is in the same directory as the resource folder "rsrc" which can usually be found in (JavaView/srcBase/rsrc). For example copy this folder and place it in the same directory as the exported JAR file.


This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback