关于ubuntu下java6的doc安装问题
2008-09-25 21:29
399 查看
ubuntu版本:ubuntu8.04.1 desktop
利用sudo apt-get install sun-java6-doc命令是无法安装成功的。总是提示说
。。。。。。。。。。。
正在设置 sun-java6-doc (6-03-0ubuntu2) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:
jdk-6-doc.zip jdk-6-doc-ja.zip
(choose the non-update version if this is the first installation).
Please visit
http://java.sun.com/javase/downloads/
now and download. The file should be owned by root.root and be copied
to /tmp.
[Press RETURN to try again, 'no' + RETURN to abort]
处理办法如下:
1、手动到
http://java.sun.com/javase/downloads/网站下载 jdk-6-doc.zip文件。此处有英文和日文两个doc文件,根据个人需要选择下载。
2、将下载好的jdk-6-doc.zip文件拷贝到/tmp目录下 命令: sudo cp jdk-6-doc.zip /tmp
3、安装java6的doc,命令: sudo apt-get install sun-java6-doc。
4、安装完成。
PS:在安装过程中,可能会询问管理员密码,输入即可。
利用sudo apt-get install sun-java6-doc命令是无法安装成功的。总是提示说
。。。。。。。。。。。
正在设置 sun-java6-doc (6-03-0ubuntu2) ...
This package is an installer package, it does not actually contain the
JDK documentation. You will need to go download one of the
archives:
jdk-6-doc.zip jdk-6-doc-ja.zip
(choose the non-update version if this is the first installation).
Please visit
http://java.sun.com/javase/downloads/
now and download. The file should be owned by root.root and be copied
to /tmp.
[Press RETURN to try again, 'no' + RETURN to abort]
处理办法如下:
1、手动到
http://java.sun.com/javase/downloads/网站下载 jdk-6-doc.zip文件。此处有英文和日文两个doc文件,根据个人需要选择下载。
2、将下载好的jdk-6-doc.zip文件拷贝到/tmp目录下 命令: sudo cp jdk-6-doc.zip /tmp
3、安装java6的doc,命令: sudo apt-get install sun-java6-doc。
4、安装完成。
PS:在安装过程中,可能会询问管理员密码,输入即可。
相关文章推荐
- 关于用wubi安装Ubuntu,总是提示“没有定义根文件系统”的问题
- 关于ubuntu 命令update-alternatives --config java 安装jdk出现不能选择版本问题!
- WIN10环境下安装ubuntu关于GPT+legacy+无法启动ubuntu+无法启动WIN10的问题解决方法
- 关于ubuntu下sublime text 3 的安装和中文配置问题
- 关于calltree在ubuntu14.04上的安装问题
- 关于ubuntu安装软件的问题:apt-get和dpkg区别?
- 关于把Ubuntu安装在U盘的问题
- ubuntu13.04一些关于安装vim的问题详解
- 关于 Ubuntu 环境下 gvim 的安装与卸载问题
- Ubuntu16.0下关于安装opencv3.x时一直downloading protobuf-cpp-3.1的问题
- Ubuntu 12.04关于libgl1-mesa-glx:i386安装的问题
- 关于WIN10下安装UBUNTU的问题-找不到ubuntu系统
- (ubuntu16.04)关于caffe+python3.5(非anaconda安装)编译的一些问题
- 关于在ubuntu10.04版本(而且该版本安装了OPEN JDK时),安装SUN JAVA遇到了几个问题并且安装成功
- Ubuntu下关于安装opencv3.x时一直downloading protobuf-cpp-3.1的问题
- 关于Ubuntu下无法安装sun-java6-jdk的解决办法
- 关于freeswitch1.5在ubuntu14.04上安装遇到的问题1
- ubuntu安装Jdk和Jre时出现问题:Package 'sun-java6-jdk' has no installation candidate
- 关于安装ubuntu的分区问题
- ubuntu安装jdk时候(软件包 sun-java6-jdk 没有可供安装的候选者)问题解决方法!