What is Java and Development Environment (MAC)

This article was written for people who were programming in other languages and would like to program in Java. In this article, it is up to environment construction. We do not explain the program or create the program.

Notes

This article is based on the content of the Wiki. wiki link https://ja.wikipedia.org/wiki/Java

The environment for this article is Mac. So I'll explain what to do with a Mac.

What is Java

Java is a type of programming language. Sometimes it also includes the execution environment and development environment. It is a programming language that has been around since 1995, and many people have left behind materials. Also, since most PCs have Java installed, it can be said that it is a language that is easy for beginners to touch.

Development environment

Java is on most PCs as I wrote above, but I think it may be out of date. In such a case, you can download Java at the link below. Java download site: https://www.oracle.com/java/technologies/javase-downloads.html

If you want to know which version you have on your PC, go to the terminal on mac /usr/libexec/java_home -V Please enter. Then you will see the version and path you have on your PC. java --version You can see which version is currently selected by typing. Switching versions export JAVA_HOME = \ version path \ You can do it with. In my case, I develop with Java SE 11. export JAVA_HOME=`/usr/libexec/java_home -v 11.0.6` I entered.

For windows, it is done on the console, but the command is different. I can't try it right now, so I won't give a detailed explanation.

This time we will be developing with Java SE 11, so Java SE 11 (LTS) Oracle JDK Click JDK Download. スクリーンショット_2020-05-11_14_21_33.png

After clicking, click MacOS Installer. スクリーンショット_2020-05-11_14_22_01.png

After that, you can install it by clicking the downloaded file and following the instructions.


There are various development environments, but I use Visual Studio Code (hereinafter VSCode). VSCode download site: https://azure.microsoft.com/ja-jp/products/visual-studio-code/

Download it, open VS Code and create practice.java on your desktop. Then We recommend installing the'Language Support for Java (TM) by Red Hat'extension. Is displayed, so let's install as you are told. スクリーンショット_2020-05-11_9_45_47.png

When the installation is complete, the environment construction is complete. If you want to try the program after installation See Hello World in VS Code! (Https://qiita.com/u-devi/items/74caeaeec3a00cb5e557).

--fin--

Recommended Posts

What is Java and Development Environment (MAC)
Java development environment (Mac, Eclipse)
Build Java development environment (for Mac)
Java development environment (Mac, VS Code)
Install Java development environment on Mac
What is java
Java development environment
What is Java <>?
What is Java
Java development environment construction memo on Mac
Build a Java development environment on Mac
[Personal memo] Java development environment is ready
Java development environment memo
java development environment construction
What is Java technology?
What is Java API-java
[Java] What is flatMap?
What is web development?
[Java] What is JavaBeans?
[Java] What is ArrayList?
Rails6 development environment construction [Mac]
What is Java Assertion? Summary.
Create a Java development environment using jenv on Mac
Build Java development environment with VS Code on Mac
[JAVA] What is the difference between interface and abstract? ?? ??
What is a Java collection?
[Java] What is jaee j2ee?
[Java] What is class inheritance?
What is the difference between Java EE and Jakarta EE?
[Java basics] What is Class?
What is java escape analysis?
What is Microservices? And Microservices Frameworks
Docker × Java Building a development environment that is too simple
What is the LocalDateTime class? [Java beginner] -Date and time class-
What happened in "Java 8 to Java 11" and how to build an environment
Eclipse installation and code completion enhancements (Mac for Java development)
Create a Java and JavaScript team development environment (gradle environment construction)
What is JVM (Java Virtual Machine)?
[Eclipse Java] Development environment setting memo
Prepare Java development environment with Atom
Play Framework 2.6 (Java) development environment creation
About the current development environment (Java 8)
What is thread safe (with Java)
[Java] What is Concurrent Modification Exception?
What is a lambda expression (Java)
[Java & SpringBoot] Environment Construction for Mac
[Java] What are overrides and overloads?
What I have learned in Java (Part 1) Java development flow and overview
Notes on building Kotlin development environment and migrating from Java to Kotlin
[ev3 × Java] leJOS development environment construction (Eclipse on Mac OSX / bluetooth)
[Java] What is the difference between form, entity and dto? [Bean]
What is a class in Java language (3 /?)
Prepare Java development environment with VS Code
[Processing x Java] Construction of development environment
Laravel development environment construction with Docker (Mac)
What is a class in Java language (1 /?)
Let's create a Java development environment (updating)
What is a class in Java language (2 /?)
Build Java 8 development environment on AWS Cloud9
Spring Boot + Docker Java development environment construction
What is the main method in Java?