This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Executable Jar Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Executable Jar Files" Watch "Executable Jar Files" New topic

Executable Jar Files

Matthew Middleton

Joined: May 05, 2004
Posts: 23
I'm looking into packaging my small application so i can install my app on another computer w/o having to install java on the other computer. I read up on Executable jar files and this seems to be the solution. Unfortunately all of the tutorials don't seem to work. I'll give you my circumstances and see if you guys can help me out. I have an app Transpose and it uses calls to static method called Notes that i also wrote. They are both stored in C:/J2sdk1.4.0_01/bin. How can i create an executable jar file for this program. Your help is greatly appriciated GOD Bless
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32815

An executable jar is a jar file that has one of the classes running automatically when the jar is called. It still requires java on the machine.
I think what you are looking for is a program that turns .jar files into .exe files. Google has some tools that do this.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Matthew Middleton

Joined: May 05, 2004
Posts: 23
Thanks a million!!!
It is sorta covered in the JavaRanch Style Guide.
subject: Executable Jar Files
It's not a secret anymore!