opening .jar files

Questions about applications and software
Forum rules
Before you post please read this

opening .jar files

Postby toml2 on Wed May 09, 2012 6:03 pm

Back in previous versions of LMDE you could right click the .jar file and open with Java6 Runtime. I don't seem to be able to do that in the latest version, Java Runtime is not an option.
toml2
Level 1
Level 1
 
Posts: 7
Joined: Sat May 14, 2011 1:31 pm

Linux Mint is funded by ads and donations.
 

Re: opening .jar files

Postby kyphi on Wed May 09, 2012 7:04 pm

In LinuxMint 12 you can open .jar files by left double click and Archive Manager will open it.
To run the .jar file you need the Sun Java 6 Runtime files which, if installed you can select via a right click from the drop down menu.
To set the icon path you can use "java -jar /home/your name/directory/filename.jar"
kyphi
Level 4
Level 4
 
Posts: 359
Joined: Sat Jul 09, 2011 1:14 am
Location: Australia

Re: opening .jar files

Postby toml2 on Wed May 09, 2012 9:24 pm

Java runtime seems to be installed but is not an option in the drop down menu in the latest version of LMDE
toml2
Level 1
Level 1
 
Posts: 7
Joined: Sat May 14, 2011 1:31 pm

Re: opening .jar files

Postby Oscar799 on Thu May 10, 2012 8:34 am

Moved here by moderator
Image
"Don't fix it if it ain't broken,don't break it if you can't fix it" Husse
Registered Linux User #511789
User avatar
Oscar799
Level 18
Level 18
 
Posts: 8167
Joined: Tue Aug 11, 2009 9:21 am
Location: United Kingdom

Re: opening .jar files

Postby kyphi on Thu May 10, 2012 7:39 pm

The jre files that are installed on my system are:

sun-java6-bin
sun-java6-jre
sun-java6-plugin

"Open With Sun Java 6 Runtime" does not appear as an association choice on right click but it does appear as an option when a .jar file is right clicked.
kyphi
Level 4
Level 4
 
Posts: 359
Joined: Sat Jul 09, 2011 1:14 am
Location: Australia

Re: opening .jar files

Postby jvossler on Fri Jun 15, 2012 3:20 pm

It would be nice if we could jut click and run but until then CLI will have to do.

open a terminal: java -jar <filename>

If there is another way please post.
jvossler
Level 2
Level 2
 
Posts: 67
Joined: Sun Apr 11, 2010 8:00 pm

Re: opening .jar files

Postby roger64 on Fri Jun 15, 2012 4:05 pm

jvossler wrote:It would be nice if we could jut click and run but until then CLI will have to do.

open a terminal: java -jar <filename>

If there is another way please post.


On my LMDE I can do it this way: Right-click, and in the contextual menu choose "Open with Java runtime".
roger64
Level 4
Level 4
 
Posts: 230
Joined: Wed Jun 01, 2011 5:48 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 7 guests