File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Java Interview Guide this week in the Jobs Discussion 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: 15100

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 8 API documentation
I agree. Here's the link:
subject: stansalone executable
It's not a secret anymore!