필터 지우기
필터 지우기

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 CenterFile Exchange에서 Introduction 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