| Author |
application to run jar files
|
Rahul Sudip Bose
Ranch Hand
Joined: Jan 21, 2011
Posts: 637
|
posted

0
|
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 ?
|
SCJP 6. Learning more now.
|
 |
Darryl Burke
Bartender
Joined: May 03, 2008
Posts: 4165
|
posted

0
|
|
java.exe and javaw.exe can already do that.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12921
|
posted

0
|
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
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Rahul Sudip Bose
Ranch Hand
Joined: Jan 21, 2011
Posts: 637
|
posted

0
|
Darryl Burke wrote:java.exe and javaw.exe can already do that.
you mean like, "open with" option ?
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16692
|
posted

0
|
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
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16692
|
posted

0
|
Duplicate topic. Please use your other topic.
http://www.coderanch.com/t/531275/java/java/software-directly-run-class-file
Henry
|
 |
 |
|
|
subject: application to run jar files
|
|
|