当前位置: 技术问答>linux和unix
j2sdk-1_4_2_02-linux-i586.bin安装出错
来源: 互联网 发布时间:2016-10-02
本文导语: Unpacking... tail: 无法打开 “+473” 读取数据: 没有那个文件或目录 Checksumming... 1 The download file appears to be corrupted. Please refer to the Troubleshooting section of the Installation Instructions on the download page for more informa...
Unpacking...
tail: 无法打开 “+473” 读取数据: 没有那个文件或目录
Checksumming...
1
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
望大大们给予帮助
tail: 无法打开 “+473” 读取数据: 没有那个文件或目录
Checksumming...
1
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
望大大们给予帮助
|
#javac -v
Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp 2000, 2006. All rights reserved.
跟我没安装之前一样没有1.6的提示
--------------------------
说明你的系统原先还有java版本存在 问一下你用的什么linux发行版?
我提供2种方法供你选择
1.把原来有的命令替换掉
#which java
比如显示
/usr/bin/java
则
#mv /usr/bin/java /usr/bin/java.old
#ln -s /usr/java/jdk1.6.0_21/bin/java /usr/bin/java
#which javac
比如显示
/usr/bin/javac
则
#mv /usr/bin/javac /usr/bin/javac.old
#ln -s /usr/java/jdk1.6.0_21/bin/javac /usr/bin/javac
然后再
#javac -version
2.用alternativs来让2个版本的共存 并设置默认使用的版本
详细用法请学习http://dev.firnow.com/course/6_system/linux/Linuxjs/2008810/135570.html
Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp 2000, 2006. All rights reserved.
跟我没安装之前一样没有1.6的提示
--------------------------
说明你的系统原先还有java版本存在 问一下你用的什么linux发行版?
我提供2种方法供你选择
1.把原来有的命令替换掉
#which java
比如显示
/usr/bin/java
则
#mv /usr/bin/java /usr/bin/java.old
#ln -s /usr/java/jdk1.6.0_21/bin/java /usr/bin/java
#which javac
比如显示
/usr/bin/javac
则
#mv /usr/bin/javac /usr/bin/javac.old
#ln -s /usr/java/jdk1.6.0_21/bin/javac /usr/bin/javac
然后再
#javac -version
2.用alternativs来让2个版本的共存 并设置默认使用的版本
详细用法请学习http://dev.firnow.com/course/6_system/linux/Linuxjs/2008810/135570.html