Java environment construction

What you need to build an environment

Install Java, VisualStudioCode, and Java extensions

❶ Java installation

//Open terminal
$ javac -version  //Check if the JDK is installed

If the version does not come out Go to Java installation page

After selecting from the list, install

image.png

Version update

//Old version
$ javac -version
javac 11.0.9.1
//After installation
$ javac -version
javac 15.0.1

Not the latest version

//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

I referred to this article

❷ Install Visual Studio Code

Visual Studio Code installation page image.png

After installation

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

❸ Install Java extensions

In Visual Studio Code extensions
「Java Extension Packvscjava.vscode-java-Search for "pack" and install

Now that the environment construction is complete, the next time we will test the execution environment!

Recommended Posts

[Java] Environment construction
Java environment construction
java development environment construction
JavaFX environment construction in Java 13
AtCoder Challenge Environment Construction (Java 8)
Java development environment
[Spring] Environment construction
[Java & SpringBoot] Environment Construction for Mac
Docker environment construction
Java runtime environment construction method (Tomcat @ Linux)
[Processing x Java] Construction of development environment
Java development environment construction memo on Mac
Play Framework 2.6 (Java) environment construction in Eclipse
Spring Boot + Docker Java development environment construction
Minimal Java environment construction and Hello World
Penronse environment construction [Windows]
[Environment construction] Eclipse installation
[Flutter] Ubuntu 20.04 environment construction
Java development environment memo
[Summary] Java environment preparation
Rails Docker environment construction
Circle CI environment construction
Road to Java Engineer Part1 Introduction & Environment Construction
JAVA + STS (Spring Tool Suite) environment construction procedure
[Notepad ++] C language / Java compilation & execution environment construction
Rails6 development environment construction [Mac]
[LeJOS] Let's program mindstorm-EV3 in Java [Environment construction part 2]
[Spring Boot] Environment construction (macOS)
EC-CUBE4 environment construction (local edition)
I tried node-jt400 (Environment construction)
Java development environment construction on Mac-JDK Install (2020 preservation version)
Rails environment construction Rails5.2.1 ruby2.5.1 Catalina
[Mac] VS Code development environment construction (Java, Gradle, Node.js)
MySQL 5.7 (Docker) environment construction memo
Introduction to Metabase ~ Environment Construction ~
Java development environment (Mac, Eclipse)
Redmine (Docker) environment construction memo
Java
[Java] Environment construction procedure for developing struts 1.3 with Eclipse
[Docker] Rails 5.2 environment construction with docker
Offline environment construction Ruby edition
Docker × Spring Boot environment construction
[Super easy] Ruby environment construction
[Rails / MySQL] Mac environment construction
[Environment construction] Build a Java development environment with VS Code!
Java
[Docker] postgres, pgadmin4 environment construction
Laravel environment construction (Ubuntu 18.04 LTS)
React environment construction with Docker
Offline environment construction CentOS edition
Java + Spring development environment construction with VirtualBox + Ubuntu (Xfce4)
[LeJOS] Let's program mindstorm-EV3 in Java [Environment construction first part]
Web application development environment construction in Java (for inexperienced people)
Java web application development environment construction with VS Code (struts2)
Create a Java and JavaScript team development environment (gradle environment construction)
[Java development environment construction] Install OpenJDK 11 (Java 11) on macOS with Homebrew.
Rails + MySQL environment construction with Docker
[Windows] WSL2 + Ubuntu + Node.js environment construction
Node.js environment construction with Docker Compose
[Eclipse Java] Development environment setting memo
◆ Spring Boot + gradle environment construction memo