aspose file tools*
The moose likes Java in General and the fly likes application to run jar files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

application to run jar files

Rahul Sudip Bose
Ranch Hand

Joined: Jan 21, 2011
Posts: 637

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: 4522
    
    5

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
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868
    
  10

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

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: 18103
    
  39

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: 18103
    
  39

Duplicate topic. Please use your other topic.

http://www.coderanch.com/t/531275/java/java/software-directly-run-class-file

Henry
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: application to run jar files
 
Similar Threads
How to set up xerces
Not able run mysql based jdbc program
How Do I get the CodeKitchen Samples Out of the Jar File?
doubt about lib directory
how to create the excutable jar?