Pages

Wednesday, August 8, 2012

How to run a jar file in Linux Mint & Ubuntu


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 

1 comment:

  1. Right here is the perfect website for anybody who would like to understand this topic.

    You realize a whole lot its almost hard to argue with you (not that I really would want
    to…HaHa). You definitely put a brand new spin on a
    subject that has been written about for decades.
    Great stuff, just excellent!

    Also visit my homepage; calorie burn calculator

    ReplyDelete