Install Java, VisualStudioCode, and Java extensions
//Open terminal
$ javac -version //Check if the JDK is installed
If the version does not come out Go to Java installation page
//Old version
$ javac -version
javac 11.0.9.1
//After installation
$ javac -version
javac 15.0.1
//Check installed Java
/usr/libexec/java_home -V
Matching Java Virtual Machines (2):
15.0.1, x86_64: "Java SE 15.0.1" /Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home
11.0.9.1, x86_64: "AdoptOpenJDK 11" /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Visual Studio Code installation page
The bar on the left (activity bar) Extensions square icon You can install the extension here
Open Visual Studio Code
Since the display is in English, change it to Japanese
Search for "Japanese Language Pack for Visual Studio Code"
If you enter "Japanese", candidates will appear
Click install
Restart Visual Studio Code after installation
Display becomes Japanese
In Visual Studio Code extensions
「Java Extension Packvscjava.vscode-java-Search for "pack" and install
Recommended Posts