惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
CXSECURITY Database RSS Feed - CXSecurity.com
Help Net Security
Help Net Security
P
Privacy International News Feed
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
T
Tor Project blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
A
Arctic Wolf
Latest news
Latest news
T
Threat Research - Cisco Blogs
L
LINUX DO - 最新话题
P
Privacy & Cybersecurity Law Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Google DeepMind News
Google DeepMind News
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
月光博客
月光博客
N
News and Events Feed by Topic
Jina AI
Jina AI
博客园 - 司徒正美
WordPress大学
WordPress大学
罗磊的独立博客
雷峰网
雷峰网
AI
AI
Hugging Face - Blog
Hugging Face - Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
Security @ Cisco Blogs
博客园 - 三生石上(FineUI控件)
H
Heimdal Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
C
Cisco Blogs
博客园 - 【当耐特】
The Hacker News
The Hacker News
有赞技术团队
有赞技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
www.infosecurity-magazine.com
www.infosecurity-magazine.com
Schneier on Security
Schneier on Security
博客园 - Franky
S
SegmentFault 最新的问题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cloudbric
Cloudbric
爱范儿
爱范儿
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Secure Thoughts
Last Week in AI
Last Week in AI
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Know Your Adversary
Know Your Adversary
Google DeepMind News
Google DeepMind News

陈沙克日志

AP 物理油管视频推荐 - 陈沙克日志 | shake Blog S-UI 面板 - 陈沙克日志 | shake Blog 16岁男孩 - 陈沙克日志 | shake Blog 2026雅思备考综合研究报告 - 陈沙克日志 | shake Blog 3个月AI学习总结 - 陈沙克日志 | shake Blog WSL2 安装 Claude Code OpenClaw Hermes-Agent - 陈沙克日志 | shake Blog N8N HTTP Request cURL倒入的坑 - 陈沙克日志 | shake Blog Hugging Face Spaces 容器部署 n8n + MinIO + NCA - 陈沙克日志 | shake Blog 中国人口危机 - 陈沙克日志 | shake Blog NotebookLM PPT 提示词 - 陈沙克日志 | shake Blog NotebookLM Infographic 提示词 - 陈沙克日志 | shake Blog 基督教发展历程:从起源到多元分支的演变 - 陈沙克日志 | shake Blog 犹太教历史概览:从创世到复国 - 陈沙克日志 | shake Blog 闲聊中华5000年文明 - 陈沙克日志 | shake Blog AP CSA 学习材料 - 陈沙克日志 | shake Blog 15岁孩子不同的地方 - 陈沙克日志 | shake Blog youtube2mp3 - 陈沙克日志 | shake Blog
Vscode 配置java - 陈沙克日志 | shake Blog
shake · 2025-11-02 · via 陈沙克日志

昨晚儿子问vscode,无法跑他的java代码。因为以前学习,都是使用web ide。那么用本地的vscode跑,还是第一次。

如何让vscode支持java,刚好我现在已经改成vscode写blog,有环境,就专门验证一遍。

我通常习惯,就是上youtube,找一个合适的视频看完,就差不多,可以动手验证。

vscode,孩子已经装好在电脑上,这个其实就是到官网,直接下载,安装就可以。

关于java的支持,其实官方文档支持还是非常不错的。

youtube视频

本地环境

验证本地环境下,是否安装java。很简单,cmd,进入命令行

如果你没安装过,会显示没有。

下载安装

官方的文档,提供的下载的地址。

vscode 官方文档安装java

选择操作系统win or mac。

web

java-check

java-install

hello world

验证环境是否可用

命令行下,

java-version

hello world

1
2
3
4
5
6
    public class HelloWorld {
        public static void main(String[] args) {
            System.out.println("Hello World!");
        }
    }

修改jdk版本

当你运行java代码到时候,可能会出现update sdk提示

update-jdk

如果你选择后,还想进行修改,可以在java 项目里,进行配置

config-jdk

作为学习,选择17,是没任何的问题的。