Results 1 to 2 of 2
  1. #1
    yogi1410 is offline Member
    Join Date
    Jan 2010
    Posts
    6
    Rep Power
    0

    Default Running jar file.

    Hi

    I have install java 1.6 on my system.
    I have a jar file created using eclipse, which display me a swing panel when run with command java -jar download.jar

    I want the same action to happen when i double click on the jar file.

    Awaiting help...

    Regards

    Yogi...

  2. #2
    r035198x is offline Senior Member
    Join Date
    Aug 2009
    Posts
    2,388
    Rep Power
    8

    Default

    It's an OS specific thing.
    Associate your jar files with the javaw progarm on your computer.
    e.g for windows you would need to edit your file->program associations.

Similar Threads

  1. Replies: 3
    Last Post: 12-24-2009, 08:04 AM
  2. Running Jar File - NoClassDefFoundError
    By TannerLD in forum New To Java
    Replies: 2
    Last Post: 09-10-2009, 01:01 PM
  3. Problems getting jar file running locally
    By edpfister in forum Java Applets
    Replies: 2
    Last Post: 03-09-2009, 09:01 PM
  4. Replies: 2
    Last Post: 03-09-2009, 03:36 AM
  5. error while running jar file
    By ernieBob in forum NetBeans
    Replies: 1
    Last Post: 03-25-2008, 12:13 PM

Posting Permissions

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