본문 바로가기
  • AI (Artificial Intelligence)
Skills/Ubuntu

Ubuntu java 버전 변경하기

by 로샤스 2014. 3. 7.

$> sudo update-alternatives --config java


There are 2 choices for the alternative java (providing /usr/bin/java).

Selection Path priority Status

--------------------------------------------------------------------------------------------------*

0 /usr/lib/jvm/java-6-sun/jre/bin/java 63 auto mode

1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java 53 manual mode

2 /usr/lib/jvm/java-6-sun/jre/bin/java 63 manual mode


Press enter to keep the current choice*, or type selection number: 번호 선택 + Enter

 

댓글