This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman 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 Elasticsearch in Action this week in the Big Data 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: 31571

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]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Matthew Middleton

Joined: May 05, 2004
Posts: 23
Thanks a million!!!
I agree. Here's the link:
subject: Executable Jar Files