フィルターのクリア

Default JVM does not seem to be working - Ubuntu 14.04

2 ビュー (過去 30 日間)
Elijah Rockers
Elijah Rockers 2016 年 4 月 20 日
コメント済み: Elijah Rockers 2016 年 4 月 21 日
For some reason MATLAB doesn't start with default JVM.
echo $MATLAB_JAVA gives me /usr/lib/jvm/jre1.7.0_60/
If I change that to /usr/lib/jvm/java-7-openjdk-amd64/jre, then matlab starts fine.
I put export MATLAB_JAVA=/usr/lib/jvm/java-7-openjdk-amd64/jre in my /etc/bash.bashrc, but somethign else must be overriding it after the fact.
Why is the default JVM not working, and if I can't get it to work, how can I automatically set MATLAB_JAVA? I don't want my users to have to export MATLAB_JAVA every time they need to launch matlab.
Thanks,
  1 件のコメント
Elijah Rockers
Elijah Rockers 2016 年 4 月 21 日
I edited the matlab invocation command to export the correct MATLAB_JAVA path as a fix. Seems to work ok, but I feel this may not be the 'proper' fix.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by