ubuntu7.04 matlabR2006b 的问题

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
Apollo720
帖子: 10
注册时间: 2006-10-23 16:58

ubuntu7.04 matlabR2006b 的问题

#1

帖子 Apollo720 » 2007-05-10 16:58

安装完成之后,运行命令matlab:
apollo@apollo-desktop:~$ matlab
---------------------------------------------------------------------------
Warning: Cannot locate Java Runtime Environment (JRE) . . .

1. Either a correct JRE was not available for redistribution when
this release was shipped, in which case you should refer to the
Release Notes for additional information about how to get it.

2. Or you have tried to use the MATLAB_JAVA environment variable
to specify an alternate JRE, but MATLAB cannot find it. Please
run 'matlab -n' to determine what value you are using for
MATLAB_JAVA and fix accordingly.
---------------------------------------------------------------------------

matlab: No MATLAB bin directory for this machine architecture.

ARCH = glnx86

这是什么问题?我已经安装了sun-java6.0 bin 与sun-java6.0 jvm。
signalat
帖子: 32
注册时间: 2007-04-08 7:46

#2

帖子 signalat » 2007-05-11 11:25

add the jre path to matlab startup script like this

export MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/
Apollo720
帖子: 10
注册时间: 2006-10-23 16:58

#3

帖子 Apollo720 » 2007-05-11 12:42

放在最前面吗?
我试过了,我是用gedit编辑的,当加上那一句之后保存,本来有彩色和高亮的代码全变成了一种颜色。
运行命令:
apollo@apollo-desktop:~$ matlab

matlab: No MATLAB bin directory for this machine architecture.

ARCH = glnx86
麻烦帮一下忙解决一下。
signalat
帖子: 32
注册时间: 2007-04-08 7:46

#4

帖子 signalat » 2007-05-12 10:32

检查你的jre的安装路径
urmysweety
帖子: 99
注册时间: 2006-06-09 9:37

#5

帖子 urmysweety » 2007-05-13 15:40

记号一下
leeyee
帖子: 723
注册时间: 2006-04-11 9:01

#6

帖子 leeyee » 2007-06-09 10:37

问一下楼上的加matlab的JAVA路径在哪加?
我现在还是用6.10,MATLAB2006b老早的时候配置好的,现在全忘了。现在做毕业设计,所以不敢贸然升级到7.04,但过些天论文结束后肯定是要升级的,所以很关注2006b在7.04上的配置。

2006b在6.10上表现太完美了,都不想动它.....
I would love to change the world, but they won't give me the source code.
http://hi.baidu.com/wienerlee
回复