Blogger Information
Blog 5
fans 0
comment 0
visits 6265
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
java配置jdk
づ奈何ā
Original
868 people have browsed it

1、找到配置位置

右键计算机》属性》高级系统设置》环境变量

2、在系统变量中进行环境变量配置

2.1 新建JAVA_HOME

变量名:
JAVA_HOME

变量值:
C:\Program Files\Java\jdk1.6.0_43

2.2 新建 CLASSPATH

变量名:
CLASSPATH

变量值:
.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;

注意:不要落下变量值中的点

2.3 在Path中添加内容

添加内容:
%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

注意:添加的内容放到Path的变量值的最前面

3、校验配置结果,如下显示,则配置成功
1、”开始”->”运行”,键入”cmd”;

2、键入命令: java -version、java、javac 几个命令,出现以下信息,说明环境变量配置成功;

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post