It's not a secret anymore!
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
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: 15092

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.
jQuery in Action, 3rd edition