Win10电脑怎么安装配置jdk环境?
时间:2022-03-02 06:01:59
Java SE Development Kit就是我们常常使用的Java开发工具,对于许多学习编程或者从业编程的小伙伴来说都非常的熟悉,但是安装jdk必须配置jdk的环境变量。下面小编就带着大家一起看看怎么操作吧!
操作方法:
1、首先要打开系统环境变量配置的页面。具体操作是:打开开始菜单,找到“此电脑”,然后右键“更多”→“属性”。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_0.png)
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_1.png)
2、在弹出的页面,选择“高级系统设置”。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_2.png)
3、在弹出的页面,选择“环境变量(N)…”。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_3.png)
4、在弹出的页面,系统变量区域,选择“新建”。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_4.png)
5、在新建页面,输入变量名“JAVA_HOME”;变量值“你的jdk的路径(请参照下图,找到你的安装路径)”,然后点击“确定”。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_5.png)
6、在系统变量区域,选择“新建”,输入变量名“CLASSPATH”;变量值:“。;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;”。请注意变量值中,前面的“点“和”分号”,可以直接复制此变量值。然后点击“确定”。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_6.png)
7、通过滚轴,在系统变量区域找到“Path”变量,并双击打开。点击新建,添加如下两行代码(红色选择框中的两行代码)。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_7.png)
8、使用Windows图标+R,快速打开“运行”操作界面,并输入cmd,回车确认。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_8.png)
9、在命令行输入java –version;如果能显示java的版本信息,则表示配置成功。
![Win10电脑怎么安装配置jdk环境?](https://img.aspxhome.com/file/2023/26/a220926_9.png)
标签:win10教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
在wps演示中如何将文字转为图片方法
2022-08-15 09:54:41
电脑版WPS演示文稿怎么插入SmartArt图形
2023-10-13 00:28:41
![](https://img.aspxhome.com/file/2023/7/a183257_0s.jpg)
Word中怎样删除那些“删不掉”的下划线
2022-12-12 15:17:17
7.如何在wps表格中修改默认字号
2022-02-01 11:53:18
Cell函数的作用、语法及应用实例
2023-07-17 23:57:41
excel 如何显示公式的三种方法,分别使用快捷键,技巧和VBA编写自定义函数来显示公式
2023-03-07 03:15:51
![](https://img.aspxhome.com/file/2023/8/a162528_0s.gif)
应用程序崩溃怎么办?如何解决应用程序崩溃?
2023-11-29 11:35:32
苹果MAC OS系统怎么设置分辨率调节字体大小
2022-06-20 16:16:53
![](https://img.aspxhome.com/file/2023/4/a215464_0s.jpg)
怎样在WORD中使横向排版的页面竖着打印出来
2023-12-02 02:58:59
![](https://img.aspxhome.com/file/2023/2/19212_0s.png)
这几款 macOS 应用,让你办公更高效
2022-06-27 03:41:49
![](https://img.aspxhome.com/file/2023/9/a210509_0s.jpeg)
WWDC 在即,苹果 App Store 曝光 Mind:与 watchOS 8 有关
2023-04-07 03:43:33
![](https://img.aspxhome.com/file/2023/4/a206384_0s.jpeg)
Office 2007每次打开都要配置进度问题如何解决?
2023-11-08 21:11:25
![](https://img.aspxhome.com/file/2023/1/16671_0s.jpg)
Word怎么实现表格自动求和等公式运算?
2023-04-29 04:37:55
![](https://img.aspxhome.com/file/2023/3/31213_0s.png)
如何在苹果Mac上删除APFS卷?
2023-06-04 05:13:58
![](https://img.aspxhome.com/file/2023/7/a208667_0s.jpeg)
WPS Excel中如何快速批量填充有序序列
2022-09-16 12:56:30
![](https://img.aspxhome.com/file/2023/3/a185803_0s.jpg)
0xc0000001是什么原因造成的?0xc000000蓝屏修复方法
2022-06-19 03:35:16
![](https://img.aspxhome.com/file/2023/25/a217153_0s.jpg)
adobe reader怎样转word
2023-07-27 17:12:27
![](https://img.aspxhome.com/file/2023/4/31494_0s.jpg)
什么是word文档
2023-09-18 06:29:08
![](https://img.aspxhome.com/file/2023/0/35720_0s.png)
excel表格数字设置递减的教程
2023-11-20 21:28:01
WPS 2012表格公式保护设置
2022-12-02 22:45:40
![](https://img.aspxhome.com/file/2023/2/a164722_0s.jpg)