最終更新:2013-10-03 (木) 10:27:45 (2206d)  

sun-java6-jdk はてなブックマークを見る
Top / sun-java6-jdk

Sun Java(TM) Development Kit (JDK) 6

Sun Java moved to the Partner repository

  • https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Sun_Java_moved_to_the_Partner_repository
  • For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.
  • If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:
    sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    sudo apt-get update   
    sudo apt-get install sun-java6-jre sun-java6-plugin
    sudo update-alternatives --config java
  • For Ubuntu 10.10, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.
    sudo add-apt-repository "deb http://archive.canonical.com/ maverick partner"

Ubuntu 12.04Android-x86のビルド時のエラー

build/core/java.mk:20: *** dalvik/dexgen: Invalid LOCAL_SDK_VERSION '4' Choices are: current . Stop.
build/core/java.mk:20: *** dalvik/dexgen: Invalid LOCAL_SDK_VERSION '4' Choices are: current .  中止.

直し方

  • You have a slightly different version of Java for some reason, try the following...
    sudo -i
    [[enter password]]
    apt-get remove openjdk-6-jdk
    apt-get remove sun-java6-jdk
    add-apt-repository "deb http://archive.canonical.com/ lucid partner"
    apt-get update
    apt-get upgrade
    sudo apt-get install sun-java6-jdk
    sudo update-alternatives --config java
    [[select the sun one]]
    exit
  • http://blog.csdn.net/airk000/article/details/7479503

その他PPA

  • ppa:sun-java-community-team/sun-java6

関連