Reputation: 185
I am programming a functional Java/Jython game engine and I'd like it to be able to run on most any computer. Though a computers' Java may be up-to-date it will not recognize "java" as a command (batch).
I'm searching for a solution that results in no extra work for the consumer (downloading/installing JRE) and allows anyone to be able to run the game.
The computer I'm experimenting with 'does' possess JRE 7, however it doesn't recognize 'Java'.
Upvotes: 0
Views: 45
Reputation: 227
You can ship the JRE with your application and use that JRE for your application. The effect is the same: The application will be started through an executable (wrapper needed) or script (batch) file and the target machine does not need to have a java runtime installed. Java doesn't have to be 'installed', it just has to be 'present'. Or You may also: Use Excelsior JET compiler for that purpose. See http://www.excelsior-usa.com/ for more information on this.
Upvotes: 2