๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
Environment·Tool

[Mac OS] Open JDK 11(Amazon Corretto) ์„ค์น˜ํ•˜๊ธฐ

by Leica 2020. 3. 29.
๋ฐ˜์‘ํ˜•

[Mac OS] Open JDK 11(Amazon Corretto) ์„ค์น˜ํ•˜๊ธฐ

๋งฅ์— ์ž๋ฐ” ๊ฐœ๋ฐœ์„ ์œ„ํ•œ JDK 11์„ ์„ค์น˜ํ•ด๋ณด์ž

Amazon์˜ open JDK์ธ amazon corretto๋ฅผ ์„ค์น˜ํ•  ๊ฒƒ์ด๋‹ค.

Amazon Corretto๋Š” Oracle JDK์™€ ๋‹ฌ๋ฆฌ ์ƒ์šฉ, ๋น„์ƒ์šฉ ์ œํ•œ ์—†์ด ์ž์œ ๋กญ๊ฒŒ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค.

 

๋‹ค์šด๋กœ๋“œ ๋ฐ ์„ค์น˜

https://aws.amazon.com/ko/corretto/ ์— ์ ‘์†ํ•œ๋‹ค.

Amazon Corretto 11 ๋‹ค์šด๋กœ๋“œ ํ•˜๊ธฐ๋ฅผ ํด๋ฆญํ•œ๋‹ค.

 

macOS JDK .pkg ํด๋ฆญ

 

.pkg ์„ค์น˜ ํŒŒ์ผ

pkg ์„ค์น˜ ํŒŒ์ผ์„ ์‹คํ–‰ํ•œ๋‹ค.

์„ค์น˜ ๊ณผ์ •์€ ๊ฐ„๋‹จํ•˜๋‹ค.

 

๊ณ„์†

 

์„ค์น˜

 

๊ณ„์ • ์ •๋ณด ์ž…๋ ฅํ•˜๊ณ  ์†Œํ”„ํŠธ์›จ์–ด ์„ค์น˜ ํด๋ฆญ

 

๋‹ซ๊ธฐ ํด๋ฆญ

 

์„ค์น˜ ํ™•์ธ

command + space bar(๊ธฐ๋ณธ ๋‹จ์ถ•ํ‚ค)๋ฅผ ๋ˆŒ๋Ÿฌ Spotlight ๊ฒ€์ƒ‰ ์ฐฝ์„ ์—ฐ๋‹ค.

 

terminal ์ž…๋ ฅ ํ›„ ์—”ํ„ฐ

 

java -version์„ ์ž…๋ ฅํ•ด์„œ ์œ„์™€ ๊ฐ™์ด ์ถœ๋ ฅ๋˜๋ฉด ์ •์ƒ์ ์œผ๋กœ ์„ค์น˜๊ฐ€ ์™„๋ฃŒ๋œ ๊ฒƒ์ด๋‹ค.

์„ค์น˜ ๊ณผ์ •์—์„œ ํ™˜๊ฒฝ ๋ณ€์ˆ˜๋ฅผ ์ž๋™์œผ๋กœ ๋“ฑ๋กํ•ด์ฃผ๊ธฐ ๋•Œ๋ฌธ์— ์ถ”๊ฐ€ ์„ค์ •์€ ํ•„์š”์—†๋‹ค.

 

[์ฐธ๊ณ ] JDK ์„ค์น˜ ๋””๋ ‰ํ† ๋ฆฌ

/Library/Java/JavaVirtualMachines

๋ฐ˜์‘ํ˜•

๋Œ“๊ธ€