Is it possible to get Java in zip format? I don't want to install it by getting .exe file.
Is there any zip version of Java 1.8 so that I can download it and extract it and start using it in my Windows machine (64-bit processor)?
If you want to run any Java program on your Windows PC, you won't be able to do it without installing the Java Development Kit (JDK for short). The JDK also contains the Java Runtime Environment (or JRE) which is the core of a Java program.
Comments. Just to answer my own question after finally being able to experiment: yes, you can use the JDK without installing it.
Sign in using your Oracle account (or create a new one) and the download should start. Once the download is complete, locate the jdk-8u172-windows-x64.exe file and double-click to run the installer. Click Next and on the following screen optionally change the installation location by clicking on the Change... button.
You can extract the JDK folder from the Installation EXE.
Check this link for the steps. The post was for JDK 1.7 it will work for JDK 1.8 also
Do the following.
Steps
for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar"
commandJAVA_HOME
to the jdk (e.g c:\jdk) folder.%JAVA_HOME%/bin
to the PATH env variable.Testing
Run the following command to check the installation, it will print the version of JDK.
c:> javac -version
javac 1.7.0_51
NOTE: Tested with JDK 1.7 and 1.8
Update 1
Edited the answer to add the steps in the answer itself instead of the link to a blog post.
Update 2
For 64-Bit please check unpack-jdk-x64.bat by grabantot
I was looking for a solution to this as well. I'm not sure why the OP wanted to do this. I'm just trying to get a newer version of java for new development while not interfering with an older Java install which a legacy application requires (I'd like to update the legacy app, but it's not an option, now)
I think the hack I am going to try is this:
I'm sure if I had a better understanding of what the install is doing, this would not be necessary.
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