Bundling app with JRE

HiI have a desktop app and the client is concerned about easy installations, is there a way to bundle the app with the JRE and install both with an installer?Any help appreciated.CheersDean
[224 byte] By [deanogallaghera] at [2007-10-3 8:15:36]
# 1
There is but I have not ever done it. Look at some of the installer tools.
zadoka at 2007-7-15 3:20:38 > top of Java-index,Desktop,Developing for the Desktop...
# 2

There is a way to do it. I'm trying to figure out exactly how though.

From what I can tell from searching the threads in here, you can do this with Inno Setup see http://forum.java.sun.com/thread.jspa?threadID=708451&messageID=4108249

and scroll down a bit.

This does intall the JRE, however, the problem I'm running into is how to set the claspath, so the jar can run.

bkoltsa at 2007-7-15 3:20:38 > top of Java-index,Desktop,Developing for the Desktop...
# 3
If you have a manifest file in your jar do you really need to set the classpath? When I build my apps with netbeans it makes a executable jar file in the dist directory of the projects folder and I've never had any classpath issues on other peoples' computers...
mr.v.a at 2007-7-15 3:20:38 > top of Java-index,Desktop,Developing for the Desktop...
# 4
Sorry, I was wrong, I didn't need to set the classpath.I just needed to let my application know where the JRE I bundled was. Once I figured that out, I was fine.
bkoltsa at 2007-7-15 3:20:38 > top of Java-index,Desktop,Developing for the Desktop...
# 5
I created JAR file on my 1.6 JDK and it works fine. the problem is that it's not running over other versions of JDK say 1.5.plz how can I fix that ?
mipsmea at 2007-7-15 3:20:38 > top of Java-index,Desktop,Developing for the Desktop...