尝试安装Matlab编译器运行时的JRE错误 [英] JRE error when trying to install Matlab Compiler Runtime
问题描述
再一次,我花了很多时间尝试使某些事情无法成功进行. 我想在未安装MATLAB的Ubuntu 13.04上安装MATLAB Compiler Runtime. 这是我所做的: 我从
下载了64位Linux版本R2012b(8.0). http://www.mathworks.com/products/compiler/mcr/index.html?s_cid=BB
.
然后,我切换到该文件夹并尝试通过安装
sudo ./install
只是为了接收以下消息:
Error: Cannot locate Java Runtime Environment (JRE).
The directory /home/konni/Downloads/MCR_R2012b_glnxa64_installer/sys/java/jre/glnx86/jre does not exist.
并且,它确实不存在,但是存在一个带有"glnxa86"而不是"glnx86"的文件夹.不过,我不只是想重命名.
我的机器上确实安装了JRE,
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK Server VM (build 23.7-b01, mixed mode)
我绝对不知道该怎么办.我发现使用Google的问题对我也没有帮助...
也许您有个主意? 我将不胜感激任何帮助! :-)
如果唯一的问题是找到JRE,那么命令行开关-javadir将帮助您完成工作:
./install -javadir/usr/lib/jvm/java-7-openjdk-i386/jre/
Once again, I spent much time trying to get something to work without success. I want to install MATLAB Compiler Runtime on my Ubuntu 13.04, where there is no MATLAB installed. Here's what I did: I downloaded the 64-bit Linux version R2012b(8.0) off of
http://www.mathworks.com/products/compiler/mcr/index.html?s_cid=BB
.
Then, I switched into the folder and tried to install via
sudo ./install
just to receive the following message:
Error: Cannot locate Java Runtime Environment (JRE).
The directory /home/konni/Downloads/MCR_R2012b_glnxa64_installer/sys/java/jre/glnx86/jre does not exist.
And, it does not exist indeed, but there exists a folder with "glnxa86" instead of "glnx86". I wouldn't just want to rename it, though.
I do have a JRE installed on my machine, btw:
java version "1.7.0_25"
OpenJDK Runtime Environment (IcedTea 2.3.10) (7u25-2.3.10-1ubuntu0.13.04.2)
OpenJDK Server VM (build 23.7-b01, mixed mode)
I have absolutely no clue what to do. The problems I found using google didn't quite help me, either...
Maybe you have an idea? I'd greatly appreciate any help! :-)
If the only problem is finding the JRE, then the command line switch -javadir will get you done:
./install -javadir /usr/lib/jvm/java-7-openjdk-i386/jre/
这篇关于尝试安装Matlab编译器运行时的JRE错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!