opensas opensas - 4 months ago 42
Java Question

How can I get the latest JRE / JDK as a zip file rather than EXE or MSI installer?

I like to be sure that everything will work just by copying the contents of the Java folder and setting the environment variables.

I usually run the installer in a virtual machine, zip the \java folder contents, go back to a snapshot of the virtual machine, and then unzip the compressed file.

I couldn't find a place where the latest JRE / JDK is available as a zip file...

Alternately, is it safe to assume that exe installer from sun just will just unzip the whole thing, without messing around with the registry, environment variables, etc...?

Related: Installing Java manually on Windows?


You can use Java portable from here. It is not going to change your system settings. You can put it on your USB stick.

UPD: for those who needs JDK there's an open-source project OpenJDK Portable