JDK Installation for Microsoft Windows

本文详细介绍了在Windows系统中安装JDK的过程,包括下载安装包、设置环境变量及使用方法,并提供了卸载指南。

JDK Installation for Microsoft Windows

1.Downloading the installer:http://www.oracle.com/technetwork/java/javase/downloads/index.html

2.Running the JDK installer:

3.Updating the environment variable:

 1)Click start, then control panel, then system.

   2)Then advanced, then environment variables.

   3) Add the location of the bin folder of the JDK installation to the path variable in system variables, the following is a typical value for the path variable: 

  1>JAVA_HOME: C:\Program Files\Java\jdk1.8.0_51

  2>CLASSPATH: .;%JAVA_HOME%\lib;(classpath前面加".;"是告诉jdk,搜索class时,先查找当前目录的class文件,这是由于Linux的安全机制引起的)

  3>PATH: %JAVA_HOME%\bin;

 Note:

  1)The PATH environment variable is a series of directories separated by semicolons (;) and is not case-sensitive. Microsoft Windows looks for programs in the PATH directories in order from left to right.

  2)You should only have one bin directory for a JDK in the path at a time. Those following the first instance are ignored.

  3)If you are not sure where to add the JDK path, append it.

  4)The new path takes effect in each new command window you open after setting the PATH variable.

4.Starting to use the JDK:

 If you are new to develping and running programs in the java programming language, you can download the documentation from http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html page for some guidance.

5.Uninstalling the JDK

  To uninstall the JDK, use the "Add/Remove Programs" utility in the Microsoft Windows Control Panel.

 

转载于:https://www.cnblogs.com/ziyaboke/p/4690141.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值