Welcome, Guest. Please login or register.
April 20, 2014, 15:44:12 PM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  Assistance
| |-+  Software
| | |-+  Run .JAR files
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Run .JAR files  (Read 664 times)
weird_tr
Pardus fellow craft
**
Posts: 73


View Profile
« on: October 08, 2011, 10:52:32 AM »

hey,

If i want to run a .jar file and i click on this .jar file, Ark always extracts it. So to run it, I have to "cd" to the folder of the .jar file and do "java -jar file.jar" to run it.
Is there a possibility to run  .jar files without using the terminal? that would be a lot faster for me!

greetings,
Tristan
Logged
a.palius
Pardus fellow craft
**
Posts: 132


View Profile
« Reply #1 on: October 08, 2011, 16:06:30 PM »

Look into attachments.
Run System Setting -> File Associations
1. write jar and select x-java-archive
2. press Add... button
3. write java -jar
4. press OK
That's all.


* jar1.png (65.6 KB, 685x525 - viewed 109 times.)

* jar2.png (46.83 KB, 384x392 - viewed 119 times.)
« Last Edit: October 08, 2011, 18:23:20 PM by a.palius » Logged
weird_tr
Pardus fellow craft
**
Posts: 73


View Profile
« Reply #2 on: October 09, 2011, 19:47:40 PM »

Thank you very much!
it worked!  Grin
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!