※ 引述《iwhiori (玉米)》之銘言:
: http://source.android.com/source/initializing.html
: Installing the JDK
: The Sun JDK is no longer in Ubuntu's main package repository. In order to
: download it, you need to add the appropriate repository and indicate to the
: system which JDK should be used.
: Java 6: for Gingerbread and newer
: $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
: $ sudo apt-get update
: $ sudo apt-get install sun-java6-jdk
不好意思, 請問一下, 小弟最近需要裝jdk, 因此參考這位大大的方式
但是第三個指令 $ sudo apt-get install sun-java6-jdk
我執行這個指令以後出現
'無法取得套件 sun-java6-jdk,但它卻被其它的套件引用了。
這意味著這個套件可能已經消失了、被廢棄了,或是只能由其他的來源取得'
想請問有沒有解決辦法, 或者是其他安裝jdk的方法
我有google了一下其他安裝jdk的步驟, 但都是卡在跟本文相同的地方
小弟是linux新手, 希望大家見諒, 謝謝
=====================================================================
版本是10.10
sources list有增加deb http://archive.canonical.com/ lucid partner
這個來源是我在網路看的, 但我也改了兩三次不同的來源, 結果都一樣說...
--
: http://source.android.com/source/initializing.html
: Installing the JDK
: The Sun JDK is no longer in Ubuntu's main package repository. In order to
: download it, you need to add the appropriate repository and indicate to the
: system which JDK should be used.
: Java 6: for Gingerbread and newer
: $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
: $ sudo apt-get update
: $ sudo apt-get install sun-java6-jdk
不好意思, 請問一下, 小弟最近需要裝jdk, 因此參考這位大大的方式
但是第三個指令 $ sudo apt-get install sun-java6-jdk
我執行這個指令以後出現
'無法取得套件 sun-java6-jdk,但它卻被其它的套件引用了。
這意味著這個套件可能已經消失了、被廢棄了,或是只能由其他的來源取得'
想請問有沒有解決辦法, 或者是其他安裝jdk的方法
我有google了一下其他安裝jdk的步驟, 但都是卡在跟本文相同的地方
小弟是linux新手, 希望大家見諒, 謝謝
=====================================================================
版本是10.10
sources list有增加deb http://archive.canonical.com/ lucid partner
這個來源是我在網路看的, 但我也改了兩三次不同的來源, 結果都一樣說...
--
All Comments