aspose file tools*
The moose likes Java in General and the fly likes stansalone executable 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
Bookmark "stansalone executable " Watch "stansalone executable " New topic

stansalone executable

sriram balakrishnan

Joined: Mar 07, 2007
Posts: 1
can we have a single standalone executable for a java application and it shouls start the application without having jre or jdk installed in the machine?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13868

You cannot run a Java program without a JRE or JDK on the computer. That's like trying to drive a car without an engine in it...

You could use something like IzPack to install your Java application. The IzPack installer will install a JRE if the user doesn't have a JRE on his or her computer.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
I agree. Here's the link:
subject: stansalone executable
Similar Threads
Calling executable from an action class
Creating an executable file in NetBeans 6.1
final packaging of JAR file
Packing an ELF executable inside Android application
Java to EXE