[Summary] Java environment preparation

Get a java environment on a mac

brew search java

brew cask install java
brew cask install java8
*Since java10 has been released and java9 is no longer supported, it is better to forget about java9 and use java10 or higher.
brew cask install java10
*By the way, there seems to be no java7

$ jenv versions

$ ls -lsa /Library/Java/JavaVirtualMachines/ jdk-10.0.2.jdk jdk1.8.0_131.jdk jdk1.8.0_181.jdk openjdk-11.jdk zulu-7.jdk -> /Library/Java/JavaVirtualMachines/zulu1.7.0_181.jdk zulu-8.jdk -> /Library/Java/JavaVirtualMachines/zulu1.8.0_181.jdk zulu1.7.0_181.jdk zulu1.8.0_181.jdk

Operation, switching, etc.

$ jenv global 1.8

REF https://qiita.com/yu-iskw/items/79d9bddb77efaf2ca255 https://qiita.com/takuya71/items/8d670d8f216af87cfe01 https://qiita.com/uhooi/items/9a6747084bcfd4df07a6 https://stackoverflow.com/questions/24342886/how-to-install-java-8-on-mac https://code.i-harness.com/ja/q/190952f http://www.utsushiiro.jp/blog/archives/452 https://qiita.com/jyotti/items/22f07d807fb95fd24330

Recommended Posts

[Summary] Java environment preparation
Java knowledge summary
Java Generics Summary
[Java] Environment construction
Java related summary
Java environment construction
Java development environment
Java 8 documentation summary
Java 11 document summary
Java 12 new feature summary
Summary of Java environment settings for myself [mac]
Java development environment memo
effective java 3rd summary
Java 13 new feature summary
Java static [Personal summary]
Thread safe summary ~ Java ~
Java Primitive Specialization Summary
Java development link summary
java development environment construction
Personal summary about Java
Java 10 new feature summary
java regular expression summary
Java 14 new feature summary
Summary of Java support 2018
Java design pattern summary
Java reserved word summary
Java8 Stream Rough Summary
What is Java Assertion? Summary.
[Java11] Stream Summary -Advantages of Stream-
Progate Java (Beginner) Review & Summary
JAVA qualification exam preparation materials
[Java] Summary of regular expressions
Java Silver exam preparation memo
[Java] Summary of operators (operator)
Java8 stream, lambda expression summary
Object-oriented summary by beginners (Java)
Java development environment (Mac, Eclipse)
JavaFX environment construction in Java 13
AtCoder Challenge Environment Construction (Java 8)
Summary of Java language basics
Java tips --Spring execution Summary
[Java] Summary of for statements
Summary of Java Math class
[Java11] Stream Usage Summary -Basics-
[Java] Summary of control syntax
Summary of java error processing
[Java] Summary of design patterns
[Java] Summary of mathematical operations
Execution environment test after Java installation
Consideration on Java Persistence Framework 2017 (Summary) -1
[For beginners] Summary of java constructor
Java release date and EOL summary
Ruby environment construction summary ~ mac version ~
Summary of [Java silver study] package
Java Spring environment in vs Code
Prepare Java development environment with Atom
Play Framework 2.6 (Java) development environment creation
Akka hands-on preparation procedure from Java
About the current development environment (Java 8)
Summary
Java environment variable settings (Windows, AdoptOpenJDK11)