This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » Java in General
Bookmark "stansalone executable " Watch "stansalone executable " New topic
Author

stansalone executable

sriram balakrishnan
Greenhorn

Joined: Mar 07, 2007
Posts: 1
hi,
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: 14194
    
  20

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
 
GeeCON Prague 2014
 
subject: stansalone executable