在没有管理员权限的情况下安装 Java 8
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/37409248/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Install Java 8 without Admin Rights
提问by Pratiyush Kumar Singh
How to install Java JDK 8 in windows?
如何在 Windows 中安装 Java JDK 8?
Do I require admin right?
我需要管理员权限吗?
What Happens if i just copy JDK from one system to another with admin rights.
如果我只是将 JDK 从一个系统复制到另一个具有管理员权限的系统,会发生什么。
采纳答案by Pratiyush Kumar Singh
Steps To Do that:
这样做的步骤:
STEP1 : Install JAVA JDK 8 in personal system where you have admin rights.
步骤 1:在您拥有管理员权限的个人系统中安装 JAVA JDK 8。
STEP2 : Copy the install JDK folder to system where you dont have admin rights.
STEP2:将安装JDK文件夹复制到您没有管理员权限的系统。
STEP3: Go to Start Menu and Search environment and click on "Edit environment variable for your account"
STEP3:转到开始菜单和搜索环境,然后单击“为您的帐户编辑环境变量”
STEP4: Now Click on Add in User Variables and add below local environment variables.
STEP4:现在单击添加用户变量并添加以下本地环境变量。
A. JAVA_HOME
A.JAVA_HOME
B. PATH
B. 路径
C. CLASSPATH
C. 类路径
It works absolutely fine. I have been using JDK like this for almost a year.
它工作得很好。我已经像这样使用JDK将近一年了。
I found similar post but it has different technique. Installing JDK without administrator privileges
我发现了类似的帖子,但它有不同的技术。 在没有管理员权限的情况下安装 JDK