


Type cabextract jdk1.6.exe <- jdk file name In the utils make sure you select cabextract.exe to install it. For this you need cygwin installed which does not require admin privileges. Here is a workaround to install java without admin privileges or without administrator password. Set PATH=C:\WINDOWS C:\WINDOWS\system32 %JAVA_HOME%\binĪnd creating a shortcut with %windir%\system32\cmd.exe /K "my-cmd.cmd" as Target: value, and the folder which contains the my-cmd.cmd file as Start in: value, e.g. You can set up your environment by having a my-cmd.cmd file which contains the needed variables: rem # PROMPT is an optional question of taste -) I am proposing this alternative technique using Amazon Corretto because other proposed answers requires 7-zip for which you need administrative rights to install, and I did not find a simple portable. Test if the installation works with javac -version set JAVA_HOME=C:\Users\John\programs\jdk1.8.0_232Īdd the path to the "bin" folder to the PATH: e.g. It contains a portable amazon-corretto-windows-圆4-jdk.zip file, that you just need to download and unzip.ĭownload the portable zip file from, e.g. In order to easily install Java JDK on Windows without administrator privileges, you can use.
