一、安装包的准备
安装 java 开发者工具的话,分为 JDK + IDEA 的安装,网上有很多版本是需要手动配置环境变量的,对大多数新手朋友来说,并不是很友好,下面我分享一种最快捷的安装方法:
JDK 官网下载地址:https://www.oracle.com/java/technologies/downloads/#jdk19-windows
IDEA 官网下载地址:https://www.jetbrains.com.cn/enus/idea/download/#section=windows
JDK 下载比较麻烦,有时需要注册 Oracle 官网的账号,
我已经把下载好的 JDK+IDEA 压缩包上传到阿里网盘了(下载不限速):
网盘链接:https://www.aliyundrive.com/s/mz2LNLfrY5F
![](https://img-blog.csdnimg.cn/img_convert/567f26534a956a10051f0e1cce9166ea.png#averageHue=#f9f7f6&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=556&id=uadcd179d&margin=[object%20Object]&name=image.png&originHeight=626&originWidth=1603&originalType=binary&ratio=1&rotation=0&showTitle=false&size=110379&status=done&style=none&taskId=u36a960e7-f85a-4cee-a041-107c2adacd2&title=&width=1424.888888888889)
二、JDK的安装
到这里之后,大家的安装包里面应该有 JDK + IDEA了,此时我们一定要先安装 JDK!先安装 JDK!先安装 JDK! 如果安装顺序不对,后面的使用你可能就要手动配置 JDK 的路径了.
🐻建议路径不要变,后面系统会自动生成环境变量:
![](https://img-blog.csdnimg.cn/img_convert/f317be29f89f2be8408b2fca1ced6a3a.png#averageHue=#c6c1c1&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=445&id=uf63d0b9b&margin=[object%20Object]&name=image.png&originHeight=501&originWidth=573&originalType=binary&ratio=1&rotation=0&showTitle=false&size=156672&status=done&style=none&taskId=u7878b2e8-d9a1-4aa5-9f98-80d3d2d8066&title=&width=509.3333333333333)
![](https://img-blog.csdnimg.cn/img_convert/57c276ca06f7d531933ebfb3dec42d41.png#averageHue=#191414&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=200&id=ub9fabebd&margin=[object%20Object]&name=image.png&originHeight=225&originWidth=777&originalType=binary&ratio=1&rotation=0&showTitle=false&size=58226&status=done&style=none&taskId=u752824b0-6911-4b50-836a-b30ed553862&title=&width=690.6666666666666)
三、IDEA的安装
如果你是按我上面的方法做的,此时IDEA的安装只需两步即可搞定:
![](https://img-blog.csdnimg.cn/img_convert/2eff5b7b024bf1c29918abe252e4bc3e.png#averageHue=#e8e5e4&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=391&id=u489cd510&margin=[object%20Object]&name=image.png&originHeight=440&originWidth=545&originalType=binary&ratio=1&rotation=0&showTitle=false&size=98209&status=done&style=none&taskId=u1a1e1f93-92f5-4a40-bb4a-a0577214e35&title=&width=484.44444444444446)
然后点击 Install 即可,我们打开 IDEA ,创建一个项目,选择 New Project:
![](https://img-blog.csdnimg.cn/img_convert/0bf4c36ea9added5df97902f9be4f4ea.png#averageHue=#3b3e41&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=515&id=ue8712520&margin=[object%20Object]&name=image.png&originHeight=579&originWidth=865&originalType=binary&ratio=1&rotation=0&showTitle=false&size=96627&status=done&style=none&taskId=u18531e51-f48e-4272-b6ac-356101b7863&title=&width=768.8888888888889)
🐻此时的 Create project from template 选项不需要,直接下一步:
![](https://img-blog.csdnimg.cn/img_convert/b9ffa3c0d21c9d58f50b18b2aa439daa.png#averageHue=#3d4043&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=216&id=ufe2de541&margin=[object%20Object]&name=image.png&originHeight=243&originWidth=865&originalType=binary&ratio=1&rotation=0&showTitle=false&size=38886&status=done&style=none&taskId=u428f8c13-930a-40dd-a16d-ef4828679bc&title=&width=768.8888888888889)
![](https://img-blog.csdnimg.cn/img_convert/2c61254aae89fa4b4240153cf4a7c37f.png#averageHue=#555c58&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=336&id=u11efb29b&margin=[object%20Object]&name=image.png&originHeight=378&originWidth=865&originalType=binary&ratio=1&rotation=0&showTitle=false&size=142040&status=done&style=none&taskId=ud3ac38db-7677-4605-84b2-5472a10aaeb&title=&width=768.8888888888889)
![](https://img-blog.csdnimg.cn/img_convert/65a62058f8016f96388305818fe36e3c.png#averageHue=#5a5340&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=237&id=u75ef4c82&margin=[object%20Object]&name=image.png&originHeight=267&originWidth=865&originalType=binary&ratio=1&rotation=0&showTitle=false&size=70120&status=done&style=none&taskId=u782f6007-0358-4e74-8127-6eeed707ddf&title=&width=768.8888888888889)
![](https://img-blog.csdnimg.cn/img_convert/6c0e2cef71f57f2076ee263b4125cad9.png#averageHue=#5d574b&clientId=u30b9f646-36d2-4&crop=0&crop=0&crop=1&crop=1&from=paste&height=176&id=u7f43d1de&margin=[object%20Object]&name=image.png&originHeight=198&originWidth=733&originalType=binary&ratio=1&rotation=0&showTitle=false&size=52178&status=done&style=none&taskId=ub417a732-d336-4015-a58a-3d17ceda6e3&title=&width=651.5555555555555)
IDEA 默认设置字体很小,也没有背景图,这些配置教程在我的另一篇博客内容里,仅供大家参考使用:http://t.csdn.cn/LimYc
到达这里,代表我们的 JDK + IDEA 就安装完成了,祝大家在学习编程的路上 bug 退!退!退!
![](https://i-blog.csdnimg.cn/blog_migrate/60d3f68b22b88392de8d9adca98eec8c.png)