2013. 12. 5. 16:54
728x90
Ubuntu 12.04에서 Android build를 위해서 java6를 설치해야 한다.
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
그러나....
Package sun-java6-jdk is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package sun-java6-jdk has no installation candidate
해결 방법은...
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer
출처 : http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
728x90