Results 1 to 6 of 6

Thread: Running jar files

  1. #1

    Default Running jar files

    Hello!

    Everytime I wanna run a .jar file, I go to the prompt, type 'java -jar <filename>'. When I click it, it opens as an archive -.-

    Is there an way to make it run automatically? Just by clicking on it?

    Thanks

  2. #2
    Join Date
    Sep 2008
    Location
    Toronto,Canada
    Posts
    549

    Default Re: Running jar files

    check if you have java installed. from cli the command :
    which java
    should give you the answer. if not install it via Yast and then I think you'll have this functionality automatically.

  3. #3

    Default Re: Running jar files

    I do have java. Both JVM and JDK but I don't have this functionality ;~

  4. #4

    Default Re: Running jar files

    Did it

    just cfg to run with /usr/bin/java -jar. it'll run ^^

  5. #5
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Running jar files

    If you are using KDE, go to "Configure Desktop" -> "Advanced Settings" -> "File Associations".
    Alter the program associated with mime type "application/x-java-archive".
    openSUSE 12.3 (x86_64) with Kernel 3.7.10-1.16-desktop and KDE 4.11.2 on MacBook Pro
    Latest MS Windows version used: Win95

  6. #6

    Default Re: Running jar files

    yes, that was what I did

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •