Java version that doesn't need to be installed?

I have a client that wants a Java app to run off a CD (for Windows) where Java doesn't need to be installed on the hard-drive of the computer. I have an older version of Java (1.3.1_08-b03) that can work this way. I simply have the Java directories on the CD.

But I was wondering if there is a newer version of Java that can be used in this way?

For example, does the 1.4.x and 1.5.x versions need to be installed via the installer or could I use them by simply copying the pertinent java directories over to a CD (or a computer with no previous java installation)?

[585 byte] By [Jeff333a] at [2007-10-1 2:32:33]
# 1
You might be able too, I don't know. Have you tried it? If not it would'nt hurt to try it out.
james91a at 2007-7-8 11:40:21 > top of Java-index,Administration Tools,Sun Connection...
# 2
It should, since that is how the jvm in the JDK/SDK is "installed".
ChuckBinga at 2007-7-8 11:40:21 > top of Java-index,Administration Tools,Sun Connection...
# 3

I successfully tried it for the 1.4 version and was able to run a java program from a CD without actually installing Java on the computer. The Java directories were just on the CD. So it does work for my purposes.

Although, the Java plugin (to browsers) and Java Web Start probably won't work, but my immediate application doesn't need those features...

Jeff333a at 2007-7-8 11:40:21 > top of Java-index,Administration Tools,Sun Connection...
# 4

> I successfully tried it for the 1.4 version and was

> able to run a java program from a CD without actually

> installing Java on the computer. The Java

> directories were just on the CD. So it does work for

> my purposes.

>

> Although, the Java plugin (to browsers) and Java Web

> Start probably won't work, but my immediate

> application doesn't need those features...

That's right, for the browser and Webstart to work they need Registry entries in Windows or registration in Linux/Solaris.

Application programs just need to be told where to find Java, via a path to the executable, either as a path statement or an explicit path as part of the java invocation.

ChuckBinga at 2007-7-8 11:40:21 > top of Java-index,Administration Tools,Sun Connection...