Ubuntu10.04安装JAVA6

安装sun-java6

添加partner源deb http://archive.canonical.com/ lucid partner 到/etc/apt/sources.list文件中

(或者 sudo add-apt-repository “deb http://archive.canonical.com/ lucid partner” 如果系统提示没有add-apt-repository命令,则需要先安装python-software-properties,命令sudo apt-get install python-software-properties。另外,有些版本的ubuntu即使安装了python-software-properties 也无add-apt-repository命令,此时需要手动添加此行"deb http://archive.canonical.com/ubuntu maverick partner"到/etc/apt/sources.list文件中。)

更新系统

sudo apt-get update

安装jre

sudo apt-get install sun-java6-jre sun-java6-plugin

以下列出此软件安装协议:



    		    Ubuntu10.04安装JAVA6

提示我们是否遵循此协议:




    		    Ubuntu10.04安装JAVA6

sun-dlj-v1-1 license has already been accepted
Setting up sun-java6-jre (6.24-1build0.10.04.1) ...Setting up sun-java6-bin (6.24-1build0.10.04.1) ...
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/ControlPanel to provide /usr/bin/ControlPanel (ControlPanel) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/java_vm to provide /usr/bin/java_vm (java_vm) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/javaws to provide /usr/bin/javaws (javaws) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/jcontrol to provide /usr/bin/jcontrol (jcontrol) in auto mode.
update-alternatives: using /usr/lib/jvm/java-6-sun/jre/bin/policytool to provide /usr/bin/policytool (policytool) in auto mode.

>>>阅读全文

本文出自 “网人linux社区” 博客,转载请与作者联系!

Database error: [Table 'ac_search_cache' is marked as crashed and should be repaired]

SELECT * FROM ac_search_cache WHERE hash = '52fb62df3f2bae4c4ff68d5d8034664bfb8836d3' LIMIT 1;