File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ layout : wiki
33title : 개발환경세팅
44summary : 새 PC 를 받았을때 개발환경 세팅방법 (Java, Spring 개발 기준)
55date : 2018-08-15 19:41:36 +0900
6- updated : 2021-09-30 01:49:33 +0900
6+ updated : 2021-10-10 17:33:23 +0900
77ktags : tools
88toc : true
99public : true
@@ -139,6 +139,17 @@ brew install --cask adoptopenjdk8
139139
140140java -version
141141
142+ ```
143+
144+ * openjdk 17 설치
145+
146+ ```
147+ brew install openjdk
148+
149+ # 설치경로: /opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home/bin/java
150+
151+ /opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home/bin/java --version
152+
142153```
143154
144155
@@ -148,6 +159,9 @@ java -version
148159 java 를 설치된 경로 상관없이 추가 할 수 있음.
149160 jenv add $(/usr/libexec/java_home -v1.8)
150161 jenv add $(/usr/libexec/java_home -v1.11)
162+
163+ ## 17 version
164+ jenv add /opt/homebrew/opt/openjdk/libexec/openjdk.jdk/Contents/Home
151165```
152166
153167` zsh ` 을 사용할경우 아래 내용 추가
You can’t perform that action at this time.
0 commit comments