- Yair Mark
I was recently stuck in the awkward position where I lost admin rights on my machine and the JDK was removed due to some rogue policy. As a dev who uses Java for a lot of the work I do this is obviously a disaster. After a surprisingly quick search I came across this post on stackoverflow.com.
Read that answer for the full details but what it essentially involves in a nutshell is using 7zip to extract the contents of the JDK installer. If you do not have 7zip you can easily download a zip that contains the binary in and point it to that. Once you have followed the steps on the stackoverflow answer you simply update your JAVA_HOME environment variable to point to your manually installed JDK.