Tuesday, September 13, 2016

Executing .jar files in Gigastrand OS

Executing Java ARchive ( .jar ) files is not something that you will need to do everyday. However, if you are distributing executable archive content – say from a executable Ark file – the jar file is the only way to go.

From Wikipedia

In software, JAR (Java Archive) is a package file format typically used to aggregate many Java class files and associated metadataand resources (text, images, etc.) into one file to distribute application software or libraries on the Java platform.

In Gigastrand OS, .jar files are not associated with the installed Java Runtime Environment (JRE) 7 automatically. This is partly for security.

If you need to execute .jar files we will use the following example with KouChat.

  1. Right-click the .jar file and select Open With…

  2. In the top line, type in /usr/bin/java -jar

  3. Check Remember application association for this type of file

  4. Click OK

jar files example

Now you will be able to execute Java Archive files using the built-in java runtime.

Executing .jar files in Gigastrand OS

No comments:

Post a Comment