기타

VMware + 우분투 + OpenJDK 설치

작은돼지 2023. 1. 4. 20:46

1. VMware 설치

https://www.vmware.com/kr/products/workstation-player/workstation-player-evaluation.html

 

Download VMware Workstation Player | VMware

Download VMware Workstation Player for free today to run a single virtual machine on a Windows or Linux PC, and experience the multi-functional capabilities.

www.vmware.com

 

2. 우분투 이미지 설치

https://ubuntu.com/download/desktop

 

Download Ubuntu Desktop | Download | Ubuntu

Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things.

ubuntu.com

용량은 약 5GB

3. VMware에 우분투 설치

아까 다운받은 우분투 이미지를 불러온 후 NEXT

기본 설정을 사용하거나 변경

운영체제 SVM가 비활성화된 경우 발생하는 오류

BIOS에서 SVM을 enable 시키면 해결됨

 

 

4. OpenJDK 설치

$sudo apt-get install openjdk-11-jdk
$sudo apt-get install openjdk-8-jdk

CLI 진입하여 관리자 권한으로 다운받고 싶은 버전으로 다운로드

# javac -version
# java -version

설치 후 버전 확인

 

현재 버전은 환경 변수 설정을 따로 하지 않아도 됨