This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
  • New Topic

application to run jar files

 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
i want an application that can directly run a jar file on my PC ? Any freeware ? is it good to convert them to exe and then run ?

 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Report post to moderator
java.exe and javaw.exe can already do that.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15214
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
You can create an executable JAR file and you can then run it by just double-clicking on the JAR file.

For more information on creating executable JAR files see: Packaging Programs in JAR Files
 
Rahul Sudip Bose
Ranch Hand
Posts: 637
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
Darryl Burke wrote:java.exe and javaw.exe can already do that.


you mean like, "open with" option ?
 
Henry Wong
author
Marshal
Pie
Posts: 20995
76
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Rahul Sudip Bose wrote:
Darryl Burke wrote:java.exe and javaw.exe can already do that.


you mean like, "open with" option ?


If you have the JRE configured, and it's an executable jar, you can just double click it like any other program.

Henry
 
Henry Wong
author
Marshal
Pie
Posts: 20995
76
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
 
    Bookmark Topic Watch Topic
  • New Topic