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.
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.
- Right-click the .jar file and select Open With…
- In the top line, type in /usr/bin/java -jar
- Check Remember application association for this type of file
- Click OK
Now you will be able to execute Java Archive files using the built-in java runtime.
Executing .jar files in Gigastrand OS