Try the following simple steps

For executing a .jar file you need Java 6.0 or higher ,if you have java installed start from  step 3

1. open the Terminal 
2. run the command to install openjdk

 $sudo apt-get install openjdk-7-jdk

3.  to execute  the .jar
 $java -jar sample.jar 

Post a Comment