This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Java in General and the fly likes convert a jar file to exec. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "convert a jar file to exec." Watch "convert a jar file to exec." New topic

convert a jar file to exec.

oghenekaro EFEKODO
Ranch Hand

Joined: Oct 10, 2005
Posts: 56
need help in converting my jar file to executeable and also how to write an installation shied for my program.thanks in advance.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14913

This tutorial explains JAR files and how to create an executable JAR: Packaging Programs in JAR Files.

If you want a Windows executable for some reason (note, that will make your program not useful on anything else than Windows), have a look at Launch4J, which you can use to wrap JAR files in Window exe's.

You could use IzPack to create an installer for your Java application.

This might also be interesting: One-JAR.
[ December 16, 2006: Message edited by: Jesper Young ]

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: convert a jar file to exec.
It's not a secret anymore!