--Check from the command line if the JDK is installed
C:\Users\User name> javac -version
javac 11.0.7
--If the JDK is not installed, install it with the installer
https://adoptopenjdk.net/ 「OpenJDK 11 (LTS)」「HotSpot」
--Check if the environment variable "JAVA_HOME" is set
C:\Users\User name>echo %JAVA_HOME%
C:\Program Files\AdoptOpenJDK\jdk-11.0.7.10-hotspot
If a blank is output, set the environment variable "JAVA_HOME"
--Installer https://azure.microsoft.com/ja-jp/products/visual-studio-code/
Extension name | code |
---|---|
Java Extension Pack | vscjava.vscode-java-pack |
Lombok Annotations Support for VS Code | gabrielbb.vscode-lombok |
Checkstyle for Java | shengchen.vscode-checkstyle |
SonarLint | sonarsource.sonarlint-vscode |
Gradle Language Support | naco-siren.gradle-language |
Markdown All in One | yzhang.markdown-all-in-one |
Remote - WSL | ms-vscode-remote.remote-wsl |
--Reference article https://qiita.com/oyngtmhr/items/a098e2da50bc7b58d75a
--Reference article https://qiita.com/sakamoto66/items/bf49584fa9f56a9fb808
--Reference article https://qiita.com/fedorax/items/40052e150865267d1fa0
Recommended Posts