change the default jvm for matlab r2011a

3 views (last 30 days)
nourdine ouzoubair
nourdine ouzoubair on 1 May 2016
Answered: Jan on 2 May 2016
Hello, I am trying to change the default JVM from matlab but it didn't work.
>> !java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
>> !/usr/libexec/java_home -V
Matching Java Virtual Machines (3):
1.8.0_25, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
1.6.0_65-b14-468, x86_64: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
1.6.0_65-b14-468, i386: "Java SE 6" /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home
>> !export JAVA_HOME=`/usr/libexec/java_home -v 1.6.0_65-b14-468`
>> !java -version
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
I have tried several methods but no solutions
what i have to do to change the default JVM? iam working on OS X 10.10.3 with Matlab r2011a
thanks

Answers (1)

Jan
Jan on 2 May 2016

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!