Win a copy of Murach's Java Programming this week in the Beginning Java forum!
    Bookmark Topic Watch Topic
  • New Topic

application to run jar files  RSS feed

 
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: 5167
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
Sheriff
Posts: 15985
86
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
Sheriff
Posts: 23260
124
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
Sheriff
Posts: 23260
124
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
 
Beware the other head of science - it bites! Nibble on this message:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!