小问题,请大家帮忙看看
我装上magiclinux已经有一个星期了,正在努力学习中今天发现设备管理器不能用,在控制中心里一点击它就失去响应,怎样才能解决?
还有我在magic下安装java SDK时出了点错,我在shell下执行
./j2sdk-1_4_2_11-linux-i586-rpm.bin
出现
Do you agree to the above license terms?
yes
之后就出错
Unpacking...tail: 无法打开 “+511” 读取数据: 没有那个文件或目录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.
我用另一个安装文件j2sdk-1_4_2_11-linux-i586.bin直接执行也出现了同样的提示
我在另一台机器上红旗4.0的成功得到了j2sdk-1_4_2_11-linux-i586-rpm
我是初学者,还什么都不动,是不是我没有把magic设置好? 在MagicLinux下装rpm包最好要装文件名中带mgc字样的,各个Linux发行版的安装包是不能混用的,比如红帽、红旗和MagicLinux这三个发行版各自的rpm包不能用在其它系统上
Re: 小问题,请大家帮忙看看
Checksumming...1 The download file appears to be corrupted.It seems the file has been corrupted, download it again and try.
Here are the steps I took, probablely you'll get some hints:
1. rpm -e jre
2. Download jdk-1_5_0_06-linux-i586.bin from sun.com and put it in /opt/
3. chmod a+x jdk-1_5_0_06-linux-i586.bin
4. ./jdk-1_5_0_06-linux-i586.bin
now you have /opt/jdk1.5.0_06/ in ur system, then modify/etc/profile.d/java-profile.sh to be like:
#!/bin/sh
#java settings
JDK_VERSION=jdk1.5.0_06
JAVA_HOME=/opt/$JDK_VERSION
CLASSPATH=$JAVA_HOME/jre/lib/rt.jar:.
JAVA_FONTS=/usr/share/fonts:/usr/share/fonts/ttf/zh_CN
PATH=$PATH:$JAVA_HOME/bin
export JDK_VERSION JAVA_HOME CLASSPATH JAVA_FONTS PATH
Final step: source /etc/profile
done!
页:
[1]