Installing JDK without administrator privileges

前端 未结 14 1697
旧时难觅i
旧时难觅i 2020-12-13 00:13

I am trying to install JDK at office laptop but it says I need administrator privileges. I have only access to my own account at work.

How can I install the Java Dev

14条回答
  •  旧时难觅i
    2020-12-13 00:39

    Starting with Java SE 7u21, Oracle offers a so-called Server JRE for download. This is a standard .tar.gz archive that you can extract anywhere on your computer. Although the download is called JRE, it contains a "normal" JDK subdirectory (including the javac compiler etc.).

    Instructions:

    • download the "Server JRE" from Java download site
    • extract the .tar.gz
    • add the bin subdirectory to your PATH

提交回复
热议问题