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...
http://java.sun.com/javase/downloads/index.jsp
http://download.java.net/jdk6/
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...?
-- After all this time I found this site that seems to be exactly what I was looking for (2018-05-22)
The latest version is 16 now.
Downloading the Java Runtime Environment You can download the JRE free of charge from Oracle. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html . Under Java Platform, Standard Edition, select either the current release, or click Previous Releases to install an earlier supported version.
The JRE Installer is located on the Java SE Runtime Environment 9 Downloads page. In a browser, go to the Java SE Runtime Environment 9 Downloads page. The following JRE installers are available for you to download: Windows Offline: jre-9.
Download the JDK if you want to do Java development. The JDK comes with the Java compiler (javac) which you will need for development. The JRE is the run time environment only - get this if you only want to run Java programs. If you get the JDK it comes with a JRE included so you don't need to get the JRE separately.
JDK is not available as a portable ZIP file, unfortunately. However, you can follow these steps:
C:\JDK in this case)jdk-7u7-windows-x64.exe)jdk-XuXX-windows-x64.exe into the directory C:\JDK cmd.exe: cd C:\JDK\.rsrc\1033\JAVA_CAB10extrac32 111C:\JDK\.rsrc\1033\JAVA_CAB10\tools.zip with 7-zipcmd.exe: cd C:\JDK\.rsrc\1033\JAVA_CAB10\tools\for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar" (this will convert all .pack files into .jar files)C:\JDK\.rsrc\1033\JAVA_CAB10\tools where you want your JDK to beJAVA_HOME and PATH manually to point to your JDK dir and its BIN subdirectory.C:\jdk8)jdk-8u72-windows-x64.exe)tools.zip found inside it into the destination foldercmd.exe, run: cd C:\jdk8for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar"This solution works for JDK 8 too, without Admin rights.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With