java1.7的环境编译不了android源码需要安装java1.6

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin

安装JDK,则运行命令:

sudo apt-get install sun-java6-jdk



jingwen@jingwen-virtual-machine:~$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
[sudo] password for jingwen:
jingwen@jingwen-virtual-machine:~$ sudo apt-get update
忽略 http://cn.archive.ubuntu.com natty InRelease
忽略 http://cn.archive.ubuntu.com natty-updates InRelease                      
命中 http://cn.archive.ubuntu.com natty Release.gpg                            
命中 http://cn.archive.ubuntu.com natty-updates Release.gpg                    
命中 http://cn.archive.ubuntu.com natty Release                                
命中 http://cn.archive.ubuntu.com natty-updates Release                        
命中 http://cn.archive.ubuntu.com natty/main Sources                           
命中 http://cn.archive.ubuntu.com natty/restricted Sources                     
命中 http://cn.archive.ubuntu.com natty/universe Sources                       
命中 http://cn.archive.ubuntu.com natty/multiverse Sources                     
命中 http://cn.archive.ubuntu.com natty/main i386 Packages                     
命中 http://cn.archive.ubuntu.com natty/restricted i386 Packages               
命中 http://cn.archive.ubuntu.com natty/universe i386 Packages                 
命中 http://cn.archive.ubuntu.com natty/multiverse i386 Packages               
忽略 http://cn.archive.ubuntu.com natty/main TranslationIndex                  
忽略 http://cn.archive.ubuntu.com natty/multiverse TranslationIndex            
忽略 http://cn.archive.ubuntu.com natty/restricted TranslationIndex            
忽略 http://cn.archive.ubuntu.com natty/universe TranslationIndex              
命中 http://cn.archive.ubuntu.com natty-updates/main Sources                   
命中 http://cn.archive.ubuntu.com natty-updates/restricted Sources             
命中 http://cn.archive.ubuntu.com natty-updates/universe Sources               
命中 http://cn.archive.ubuntu.com natty-updates/multiverse Sources             
命中 http://cn.archive.ubuntu.com natty-updates/main i386 Packages             
命中 http://cn.archive.ubuntu.com natty-updates/restricted i386 Packages       
命中 http://cn.archive.ubuntu.com natty-updates/universe i386 Packages         
命中 http://cn.archive.ubuntu.com natty-updates/multiverse i386 Packages       
忽略 http://cn.archive.ubuntu.com natty-updates/main TranslationIndex          
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse TranslationIndex    
忽略 http://cn.archive.ubuntu.com natty-updates/restricted TranslationIndex    
忽略 http://cn.archive.ubuntu.com natty-updates/universe TranslationIndex      
命中 http://cn.archive.ubuntu.com natty/main Translation-zh_CN                 
命中 http://cn.archive.ubuntu.com natty/multiverse Translation-zh_CN           
命中 http://cn.archive.ubuntu.com natty/restricted Translation-zh_CN
命中 http://cn.archive.ubuntu.com natty/universe Translation-zh_CN
忽略 http://extras.ubuntu.com natty InRelease                     
忽略 http://archive.canonical.com lucid InRelease                 
忽略 http://security.ubuntu.com natty-security InRelease          
命中 http://extras.ubuntu.com natty Release.gpg                   
命中 http://archive.canonical.com lucid Release.gpg               
命中 http://security.ubuntu.com natty-security Release.gpg        
忽略 http://cn.archive.ubuntu.com natty/main Translation-zh       
忽略 http://cn.archive.ubuntu.com natty/main Translation-en       
忽略 http://cn.archive.ubuntu.com natty/multiverse Translation-zh
忽略 http://cn.archive.ubuntu.com natty/multiverse Translation-en
忽略 http://cn.archive.ubuntu.com natty/restricted Translation-zh
忽略 http://cn.archive.ubuntu.com natty/restricted Translation-en
忽略 http://cn.archive.ubuntu.com natty/universe Translation-zh   
忽略 http://cn.archive.ubuntu.com natty/universe Translation-en   
忽略 http://cn.archive.ubuntu.com natty-updates/main Translation-zh_CN
忽略 http://cn.archive.ubuntu.com natty-updates/main Translation-zh
忽略 http://cn.archive.ubuntu.com natty-updates/main Translation-en
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse Translation-zh_CN
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse Translation-zh
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse Translation-en
忽略 http://cn.archive.ubuntu.com natty-updates/restricted Translation-zh_CN
忽略 http://cn.archive.ubuntu.com natty-updates/restricted Translation-zh
忽略 http://cn.archive.ubuntu.com natty-updates/restricted Translation-en
忽略 http://cn.archive.ubuntu.com natty-updates/universe Translation-zh_CN
忽略 http://cn.archive.ubuntu.com natty-updates/universe Translation-zh
忽略 http://cn.archive.ubuntu.com natty-updates/universe Translation-en
命中 http://extras.ubuntu.com natty Release                       
命中 http://archive.canonical.com lucid Release                     
命中 http://security.ubuntu.com natty-security Release              
命中 http://extras.ubuntu.com natty/main Sources                    
命中 http://archive.canonical.com lucid/partner Sources
命中 http://security.ubuntu.com natty-security/main Sources
命中 http://extras.ubuntu.com natty/main i386 Packages
忽略 http://extras.ubuntu.com natty/main TranslationIndex
命中 http://archive.canonical.com lucid/partner i386 Packages
忽略 http://archive.canonical.com lucid/partner TranslationIndex
命中 http://security.ubuntu.com natty-security/restricted Sources
命中 http://security.ubuntu.com natty-security/universe Sources
命中 http://security.ubuntu.com natty-security/multiverse Sources
命中 http://security.ubuntu.com natty-security/main i386 Packages
命中 http://security.ubuntu.com natty-security/restricted i386 Packages
命中 http://security.ubuntu.com natty-security/universe i386 Packages
命中 http://security.ubuntu.com natty-security/multiverse i386 Packages
忽略 http://security.ubuntu.com natty-security/main TranslationIndex
忽略 http://security.ubuntu.com natty-security/multiverse TranslationIndex
忽略 http://security.ubuntu.com natty-security/restricted TranslationIndex
忽略 http://security.ubuntu.com natty-security/universe TranslationIndex
忽略 http://extras.ubuntu.com natty/main Translation-zh_CN        
忽略 http://archive.canonical.com lucid/partner Translation-zh_CN
忽略 http://extras.ubuntu.com natty/main Translation-zh
忽略 http://archive.canonical.com lucid/partner Translation-zh    
忽略 http://extras.ubuntu.com natty/main Translation-en           
忽略 http://security.ubuntu.com natty-security/main Translation-zh_CN
忽略 http://security.ubuntu.com natty-security/main Translation-zh
忽略 http://security.ubuntu.com natty-security/main Translation-en
忽略 http://security.ubuntu.com natty-security/multiverse Translation-zh_CN
忽略 http://security.ubuntu.com natty-security/multiverse Translation-zh
忽略 http://security.ubuntu.com natty-security/multiverse Translation-en
忽略 http://security.ubuntu.com natty-security/restricted Translation-zh_CN
忽略 http://archive.canonical.com lucid/partner Translation-en
忽略 http://security.ubuntu.com natty-security/restricted Translation-zh
忽略 http://security.ubuntu.com natty-security/restricted Translation-en
忽略 http://security.ubuntu.com natty-security/universe Translation-zh_CN
忽略 http://security.ubuntu.com natty-security/universe Translation-zh
忽略 http://security.ubuntu.com natty-security/universe Translation-en
正在读取软件包列表... 完成
jingwen@jingwen-virtual-machine:~$ sudo apt-get install sun-java6-jdk
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
现在没有可用的软件包 sun-java6-jdk,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到

E: 软件包 sun-java6-jdk 没有可供安装的候选者
jingwen@jingwen-virtual-machine:~$ sudo add-apt-repository ppa:ferramroberto/java
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver hkp://keyserver.ubuntu.com:80/ --recv 3E756CF119B127D4DA40A186B725097B3ACC3965
gpg: 下载密钥‘3ACC3965’,从 hkp 服务器 keyserver.ubuntu.com
gpg: 密钥 3ACC3965:公钥“Launchpad lffl”已导入
gpg: 没有找到任何绝对信任的密钥
gpg: 合计被处理的数量:1
gpg:               已导入:1  (RSA: 1)
jingwen@jingwen-virtual-machine:~$ apt-get update
E: 无法打开锁文件 /var/lib/apt/lists/lock - open (13: 权限不够)
E: 无法对目录 /var/lib/apt/lists/ 加锁
E: 无法打开锁文件 /var/lib/dpkg/lock - open (13: 权限不够)
E: 无法对状态列表目录加锁(/var/lib/dpkg/),请查看您是否正以 root 用户运行?
jingwen@jingwen-virtual-machine:~$ sudo apt-get update
忽略 http://cn.archive.ubuntu.com natty InRelease
忽略 http://cn.archive.ubuntu.com natty-updates InRelease
命中 http://cn.archive.ubuntu.com natty Release.gpg                            
命中 http://cn.archive.ubuntu.com natty-updates Release.gpg                    
命中 http://cn.archive.ubuntu.com natty Release                                
命中 http://cn.archive.ubuntu.com natty-updates Release                        
命中 http://cn.archive.ubuntu.com natty/main Sources                           
命中 http://cn.archive.ubuntu.com natty/restricted Sources                     
命中 http://cn.archive.ubuntu.com natty/universe Sources                       
命中 http://cn.archive.ubuntu.com natty/multiverse Sources                     
命中 http://cn.archive.ubuntu.com natty/main i386 Packages                     
命中 http://cn.archive.ubuntu.com natty/restricted i386 Packages               
命中 http://cn.archive.ubuntu.com natty/universe i386 Packages                 
命中 http://cn.archive.ubuntu.com natty/multiverse i386 Packages               
忽略 http://cn.archive.ubuntu.com natty/main TranslationIndex                  
忽略 http://cn.archive.ubuntu.com natty/multiverse TranslationIndex            
忽略 http://cn.archive.ubuntu.com natty/restricted TranslationIndex            
忽略 http://cn.archive.ubuntu.com natty/universe TranslationIndex              
命中 http://cn.archive.ubuntu.com natty-updates/main Sources                   
命中 http://cn.archive.ubuntu.com natty-updates/restricted Sources             
命中 http://cn.archive.ubuntu.com natty-updates/universe Sources               
命中 http://cn.archive.ubuntu.com natty-updates/multiverse Sources             
命中 http://cn.archive.ubuntu.com natty-updates/main i386 Packages             
命中 http://cn.archive.ubuntu.com natty-updates/restricted i386 Packages       
命中 http://cn.archive.ubuntu.com natty-updates/universe i386 Packages         
命中 http://cn.archive.ubuntu.com natty-updates/multiverse i386 Packages       
忽略 http://cn.archive.ubuntu.com natty-updates/main TranslationIndex          
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse TranslationIndex    
忽略 http://cn.archive.ubuntu.com natty-updates/restricted TranslationIndex    
忽略 http://cn.archive.ubuntu.com natty-updates/universe TranslationIndex      
命中 http://cn.archive.ubuntu.com natty/main Translation-zh_CN                 
命中 http://cn.archive.ubuntu.com natty/multiverse Translation-zh_CN           
命中 http://cn.archive.ubuntu.com natty/restricted Translation-zh_CN           
命中 http://cn.archive.ubuntu.com natty/universe Translation-zh_CN             
忽略 http://extras.ubuntu.com natty InRelease                                  
忽略 http://archive.canonical.com lucid InRelease                              
忽略 http://security.ubuntu.com natty-security InRelease                       
忽略 http://ppa.launchpad.net natty InRelease                                  
命中 http://extras.ubuntu.com natty Release.gpg                                
命中 http://archive.canonical.com lucid Release.gpg                            
命中 http://security.ubuntu.com natty-security Release.gpg                     
忽略 http://cn.archive.ubuntu.com natty/main Translation-zh                    
忽略 http://cn.archive.ubuntu.com natty/main Translation-en                    
忽略 http://cn.archive.ubuntu.com natty/multiverse Translation-zh              
忽略 http://cn.archive.ubuntu.com natty/multiverse Translation-en              
忽略 http://cn.archive.ubuntu.com natty/restricted Translation-zh              
忽略 http://cn.archive.ubuntu.com natty/restricted Translation-en              
忽略 http://cn.archive.ubuntu.com natty/universe Translation-zh                
忽略 http://cn.archive.ubuntu.com natty/universe Translation-en                
忽略 http://cn.archive.ubuntu.com natty-updates/main Translation-zh_CN         
忽略 http://cn.archive.ubuntu.com natty-updates/main Translation-zh            
忽略 http://cn.archive.ubuntu.com natty-updates/main Translation-en            
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse Translation-zh_CN   
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse Translation-zh      
忽略 http://cn.archive.ubuntu.com natty-updates/multiverse Translation-en      
忽略 http://cn.archive.ubuntu.com natty-updates/restricted Translation-zh_CN   
忽略 http://cn.archive.ubuntu.com natty-updates/restricted Translation-zh      
忽略 http://cn.archive.ubuntu.com natty-updates/restricted Translation-en      
忽略 http://cn.archive.ubuntu.com natty-updates/universe Translation-zh_CN     
命中 http://extras.ubuntu.com natty Release                                    
忽略 http://cn.archive.ubuntu.com natty-updates/universe Translation-zh        
忽略 http://cn.archive.ubuntu.com natty-updates/universe Translation-en        
获取:1 http://ppa.launchpad.net natty Release.gpg [316 B]                     
命中 http://archive.canonical.com lucid Release                   
命中 http://security.ubuntu.com natty-security Release                         
命中 http://extras.ubuntu.com natty/main Sources                               
获取:2 http://ppa.launchpad.net natty Release [9,736 B]          
命中 http://archive.canonical.com lucid/partner Sources                        
命中 http://security.ubuntu.com natty-security/main Sources                    
命中 http://extras.ubuntu.com natty/main i386 Packages                       
忽略 http://extras.ubuntu.com natty/main TranslationIndex                    
命中 http://archive.canonical.com lucid/partner i386 Packages                  
忽略 http://archive.canonical.com lucid/partner TranslationIndex  
命中 http://security.ubuntu.com natty-security/restricted Sources
命中 http://security.ubuntu.com natty-security/universe Sources   
命中 http://security.ubuntu.com natty-security/multiverse Sources
命中 http://security.ubuntu.com natty-security/main i386 Packages
命中 http://security.ubuntu.com natty-security/restricted i386 Packages        
命中 http://security.ubuntu.com natty-security/universe i386 Packages          
命中 http://security.ubuntu.com natty-security/multiverse i386 Packages        
忽略 http://security.ubuntu.com natty-security/main TranslationIndex           
忽略 http://security.ubuntu.com natty-security/multiverse TranslationIndex     
忽略 http://security.ubuntu.com natty-security/restricted TranslationIndex     
获取:3 http://ppa.launchpad.net natty/main Sources [834 B]                    
忽略 http://security.ubuntu.com natty-security/universe TranslationIndex       
获取:4 http://ppa.launchpad.net natty/main i386 Packages [2,822 B]            
忽略 http://ppa.launchpad.net natty/main TranslationIndex                      
忽略 http://extras.ubuntu.com natty/main Translation-zh_CN                     
忽略 http://archive.canonical.com lucid/partner Translation-zh_CN              
忽略 http://extras.ubuntu.com natty/main Translation-zh           
忽略 http://archive.canonical.com lucid/partner Translation-zh                 
忽略 http://extras.ubuntu.com natty/main Translation-en                        
忽略 http://archive.canonical.com lucid/partner Translation-en                 
忽略 http://ppa.launchpad.net natty/main Translation-zh_CN        
忽略 http://security.ubuntu.com natty-security/main Translation-zh_CN
忽略 http://security.ubuntu.com natty-security/main Translation-zh
忽略 http://security.ubuntu.com natty-security/main Translation-en
忽略 http://security.ubuntu.com natty-security/multiverse Translation-zh_CN
忽略 http://security.ubuntu.com natty-security/multiverse Translation-zh
忽略 http://security.ubuntu.com natty-security/multiverse Translation-en
忽略 http://security.ubuntu.com natty-security/restricted Translation-zh_CN
忽略 http://security.ubuntu.com natty-security/restricted Translation-zh
忽略 http://security.ubuntu.com natty-security/restricted Translation-en       
忽略 http://ppa.launchpad.net natty/main Translation-zh                        
忽略 http://ppa.launchpad.net natty/main Translation-en                        
忽略 http://security.ubuntu.com natty-security/universe Translation-zh_CN      
忽略 http://security.ubuntu.com natty-security/universe Translation-zh         
忽略 http://security.ubuntu.com natty-security/universe Translation-en         
下载 13.7 kB,耗时 6秒 (2,076 B/s)                                             
正在读取软件包列表... 完成
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ lucid/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_dists_lucid_partner_binary-i386_Packages)
W: 您可能需要运行 apt-get update 来解决这些问题
jingwen@jingwen-virtual-machine:~$ sudo apt-get install sun-java6-jre sun-java6-plugin
正在读取软件包列表... 完成
正在分析软件包的依赖关系树       
正在读取状态信息... 完成       
将会安装下列额外的软件包:
  gsfonts-x11 java-common odbcinst odbcinst1debian2 sun-java6-bin unixodbc
建议安装的软件包:
  default-jre equivs sun-java6-fonts ttf-kochi-gothic ttf-sazanami-gothic
  ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming libmyodbc
  odbc-postgresql tdsodbc unixodbc-bin
下列【新】软件包将被安装:
  gsfonts-x11 java-common odbcinst odbcinst1debian2 sun-java6-bin
  sun-java6-jre sun-java6-plugin unixodbc
升级了 0 个软件包,新安装了 8 个软件包,要卸载 0 个软件包,有 323 个软件包未被升级。
需要下载 36.9 MB 的软件包。
解压缩后会消耗掉 106 MB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://cn.archive.ubuntu.com/ubuntu/ natty/main java-common all 0.40ubuntu1 [62.8 kB]
获取:2 http://cn.archive.ubuntu.com/ubuntu/ natty/main odbcinst i386 2.2.14p2-2ubuntu1 [12.6 kB]
获取:3 http://cn.archive.ubuntu.com/ubuntu/ natty/main odbcinst1debian2 i386 2.2.14p2-2ubuntu1 [47.1 kB]
获取:4 http://cn.archive.ubuntu.com/ubuntu/ natty/main unixodbc i386 2.2.14p2-2ubuntu1 [227 kB]
获取:5 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ natty/main sun-java6-jre all 6.26-1~lffl~natty~ppa [6,376 kB]
获取:6 http://cn.archive.ubuntu.com/ubuntu/ natty/main gsfonts-x11 all 0.21 [10.5 kB]
获取:7 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ natty/main sun-java6-bin i386 6.26-1~lffl~natty~ppa [30.2 MB]
获取:8 http://ppa.launchpad.net/ferramroberto/java/ubuntu/ natty/main sun-java6-plugin i386 6.26-1~lffl~natty~ppa [1,854 B]
下载 36.9 MB,耗时 43秒 (844 kB/s)                                             
正在预设定软件包 ...
选中了曾被取消选择的软件包 java-common。
(正在读取数据库 ... 系统当前共安装有 132741 个文件和目录。)
正在解压缩 java-common (从 .../java-common_0.40ubuntu1_all.deb) ...
选中了曾被取消选择的软件包 sun-java6-jre。
正在解压缩 sun-java6-jre (从 .../sun-java6-jre_6.26-1~lffl~natty~ppa_all.deb) ...
选中了曾被取消选择的软件包 odbcinst。
正在解压缩 odbcinst (从 .../odbcinst_2.2.14p2-2ubuntu1_i386.deb) ...
选中了曾被取消选择的软件包 odbcinst1debian2。
正在解压缩 odbcinst1debian2 (从 .../odbcinst1debian2_2.2.14p2-2ubuntu1_i386.deb) ...
选中了曾被取消选择的软件包 unixodbc。
正在解压缩 unixodbc (从 .../unixodbc_2.2.14p2-2ubuntu1_i386.deb) ...
选中了曾被取消选择的软件包 sun-java6-bin。
正在解压缩 sun-java6-bin (从 .../sun-java6-bin_6.26-1~lffl~natty~ppa_i386.deb) ...
sun-dlj-v1-1 license has already been accepted
选中了曾被取消选择的软件包 gsfonts-x11。
正在解压缩 gsfonts-x11 (从 .../gsfonts-x11_0.21_all.deb) ...
选中了曾被取消选择的软件包 sun-java6-plugin。
正在解压缩 sun-java6-plugin (从 .../sun-java6-plugin_6.26-1~lffl~natty~ppa_i386.deb) ...
正在处理用于 doc-base 的触发器...
Processing 2 added doc-base file(s)...
Registering documents with scrollkeeper...
正在处理用于 man-db 的触发器...
正在处理用于 shared-mime-info 的触发器...
正在处理用于 bamfdaemon 的触发器...
Rebuilding /usr/share/applications/bamf.index...
正在处理用于 desktop-file-utils 的触发器...
正在处理用于 python-gmenu 的触发器...
Rebuilding /usr/share/applications/desktop.zh_CN.utf8.cache...
正在处理用于 fontconfig 的触发器...
正在处理用于 python-support 的触发器...
正在设置 java-common (0.40ubuntu1) ...
正在设置 gsfonts-x11 (0.21) ...
正在设置 odbcinst (2.2.14p2-2ubuntu1) ...
正在设置 odbcinst1debian2 (2.2.14p2-2ubuntu1) ...
正在设置 unixodbc (2.2.14p2-2ubuntu1) ...
正在设置 sun-java6-bin (6.26-1~lffl~natty~ppa) ...
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/ControlPanel 来提供 /usr/bin/ControlPanel (ControlPanel),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/java 来提供 /usr/bin/java (java),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/java_vm 来提供 /usr/bin/java_vm (java_vm),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/javaws 来提供 /usr/bin/javaws (javaws),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/jcontrol 来提供 /usr/bin/jcontrol (jcontrol),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/keytool 来提供 /usr/bin/keytool (keytool),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/pack200 来提供 /usr/bin/pack200 (pack200),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/policytool 来提供 /usr/bin/policytool (policytool),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/rmid 来提供 /usr/bin/rmid (rmid),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/rmiregistry 来提供 /usr/bin/rmiregistry (rmiregistry),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/unpack200 来提供 /usr/bin/unpack200 (unpack200),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/orbd 来提供 /usr/bin/orbd (orbd),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/servertool 来提供 /usr/bin/servertool (servertool),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/bin/tnameserv 来提供 /usr/bin/tnameserv (tnameserv),于 自动模式 中。
update-alternatives: 使用 /usr/lib/jvm/java-6-sun/jre/lib/jexec 来提供 /usr/bin/jexec (jexec),于 自动模式 中。
正在设置 sun-java6-jre (6.26-1~lffl~natty~ppa) ...
正在设置 sun-java6-plugin (6.26-1~lffl~natty~ppa) ...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
jingwen@jingwen-virtual-machine:~$ java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)
jingwen@jingwen-virtual-machine:~$






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值