折腾了一天,求助

C、C++和Java语言
回复
side
帖子: 2
注册时间: 2008-11-22 9:33
送出感谢: 0
接收感谢: 0

折腾了一天,求助

#1

帖子 side » 2008-11-22 10:09

安装一个Maple11.bin 文件,怎么都搞不定。linux 新手,各位帮忙。
% 环境设置
sudo gedit /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANG="zh_CN.UTF-8"
LANGUAGE="zh_CN:zh"
CLASSPATH=.:/usr/lib/jvm/java-6-sun/lib
JAVA_HOME=/usr/lib/jvm/java-6-sun
%java 版本
guosq@ubuntu-xp:~$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
% jvm设置
guosq@ubuntu-xp:~$ sudo gedit /etc/jvm
# This file defines the default system JVM search order. Each
# JVM should list their JAVA_HOME compatible directory in this file.
# The default system JVM is the first one available from top to
# bottom.
/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-gcj
/usr/lib/jvm/ia32-java-1.5.0-sun
/usr/lib/jvm/java-1.5.0-sun
/usr
% 问题所在
guosq@ubuntu-xp:~$ cd program-files/maple11
guosq@ubuntu-xp:~/program-files/maple11$ ls
license.dat MAPLESOFT.Maple.v11.0.Linux-AGAiN.nfo
Maple11.bin MAPLESOFT.Maple.v11.0.Linux.license-AGAiN.rar

guosq@ubuntu-xp:~/program-files/maple11$ sudo sh Maple11.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...

Launching installer...

exec: 2481: /tmp/install.dir.6376/Linux/resource/jre/bin/java: not found

% 系统 ubuntu 8.04 amd64 hardy
% 进入 目录发现有java
root@ubuntu-xp:/tmp/install.dir.6376/Linux/resource/jre/bin# ls
ControlPanel javaws klist pack200 rmiregistry unpack200
java keytool ktab policytool servertool
java_vm kinit orbd rmid tnameserv
side
帖子: 2
注册时间: 2008-11-22 9:33
送出感谢: 0
接收感谢: 0

Re: 折腾了一天,求助

#2

帖子 side » 2008-11-24 21:35

没有人解答,自己解决。
是因为我的机器是AMD64的,而源程序是32位的,所以需要,libc6-i386和ia32-libs两个库,而我的系统一通升级频繁更换源之后,也些依赖问题,解决之后即可。可见不能随便升级,慢两拍,等稳定了再升级。
回复

回到 “C/C++/Java”