- 论坛徽章:
- 0
|
我下载了Java的最新64位linux安装版本,装了。
然后安装了matlab linux64位版本,
1,进入到matlab安装好后的 bin 目录下(含一个无后缀的名为matlab的软件),
直接在命令行输入 matlab 再 enter,
得到bash: matlab: command not found
2,如果cd .. 至上一级目录,然后输入 bin/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 = glnxa64
3,google之后,用了一些措施 export MATLAB_JAVA = /home/.../jre1.6.0_24,
然后jre的那个警告不出了,
如果用bin/matlab还是继续出
matlab: No MATLAB bin directory for this machine architecture.
ARCH = glnxa64
如果直接 matlab
还是 command not found.
用网上说的 ./matlab 或者 反斜线matlab 都command not found.
请问我应该如何处理这个问题?请高手支招,非常感谢 |
|