2014년 10월 8일 수요일

우분 투14 오라클 자바 설치...

First it’s highly recommended to install the latest stable version as it is compatible with older versions. If an application or web page you access requires an older version of Java, you should report this to the provider/developer and request that they update the application to be compatible with all Java versions.
Second, if you really want the java 6u21, you can download the official installer from THIS PAGE.
  • 32-bit system download the “jre-6u21-linux-i586.bin”
  • 64-bit system download the “jre-6u21-linux-x64.bin”
Once downloaded, press Ctrl+Alt+T on keyboard to open the terminal and do:
1. Go to the Downloads folder and give executable permission:
cd ~/Downloads/ && chmod u+x jre-6u21-linux-*.bin
2. Run the installer:
./jre-6u21-linux-*.bin
3. Move the installation to /usr/lib/jvm:
sudo mv jdk1.6.0_21 /usr/lib/jvm/
If /usr/lib/jvm is not exist, create it by:
sudo mkdir -p /usr/lib/jvm
4. To make it default (depends on OS type, you may change i386 to amd64):
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.6.0_21/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_21/bin/javac" 1
sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/usr/lib/jvm/jdk1.6.0_21/jre/lib/i386/libnpjp2.so" 1

댓글 없음:

ESP32-S3로 업그레이드

ESP32-S3 통합 프로젝트 최종 핀맵  기능 분류 부품 (Component) 전원 공급 연결 방식 GPIO 핀 비고 (Notes) 카메라 OV5640 카메라 보드 자체 공급 FPC 커넥터 N/A GPIO 핀을 소모하지 않음 입력...