1 개요[ | ]
- sdkman JDK 설치
- sdkman Java 설치
2 설치[ | ]
Console
Copy
zeta-iMac:~ testuser$ sdk install java
Oracle requires that you agree with the Oracle Binary Code License Agreement
prior to installation. The license agreement can be found at:
http://www.oracle.com/technetwork/java/javase/terms/license/index.html
Do you agree to the terms of this agreement? (Y/n):
Console
Copy
Downloading: java 8u131
In progress...
######################################################################## 100.0%
... (생략)
We will be needing super powers...
Password:
Console
Copy
Repackaging Java 8u131...
Attaching to the DMG...
Mounting DMG as Volume...
Volume(s) mounted successfully
Installing PKG inside DMG...
installer: Package name is JDK 8 Update 131
installer: Upgrading at base path /
installer: The upgrade was successful.
Copy JDK Home to temp folder...
Preparing archive...
Unmounting volume...
"/Volumes/JDK 8 Update 131" unmounted successfully.
Done repackaging...
Cleaning up cookie...
Installing: java 8u131
Done installing!
Setting java 8u131 as default.
3 확인[ | ]
Console
Copy
zeta-iMac:~ testuser$ sdk list java
================================================================================
Available Java Versions
================================================================================
9ea163
> * 8u131
8u121
8u111
7u79
6u65
================================================================================
+ - local version
* - installed
> - currently in use
================================================================================
Console
Copy
zeta-iMac:~ testuser$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
zeta-iMac:~ testuser$ javac -version
javac 1.8.0_131
4 같이 보기[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- JDK (4)
CentOS JDK 설치 ― …CentOS JDK 설치 ― Elliott리눅스 JDK 버전 확인 ― …리눅스 JDK 버전 확인 ― Jmnote