change the default jvm for matlab r2011a

3 vues (au cours des 30 derniers jours)
nourdine ouzoubair
nourdine ouzoubair le 1 Mai 2016
Réponse apportée : Jan le 2 Mai 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

Réponses (1)

Jan
Jan le 2 Mai 2016

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by