Get Oracle Java 1.8 in windows without installing it

前端 未结 5 584
谎友^
谎友^ 2021-02-04 12:17

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 i

5条回答
  •  伪装坚强ぢ
    2021-02-04 13:09

    The following worked for me (I had JDK 1.8 installed and needed the 32 bit version as well):

    • Verify the current version with java -version
    • Assuming a different version (minor or major is being installed), download the relevant JDK installable from Oracle and run it. In the first dialog, specify a different folder than the default location (might work with the default one as well), then select Next. It will extract the files there in this folder, then it will asl for the folder where the JRE is to be installed. Simply close the installer, now you should have just the JDK in the specified folder.
    • Rerun java -version, it should give you the same version as earlier.
    • Worst case, if it shows the newer version, go to your system path (Right click My Computer (or This PC) -> Properties -> Advanced system settings -> Advanced tab -> click on Environment variables button) and remove the Oracle javapath entry (From the Path variable in the bottom part of the window). The add the older java version's bin folder to the path variable in the beginning.

提交回复
热议问题