opening matlab lab from command line uses different java version than from shortcut
Ältere Kommentare anzeigen
I went to use matlab -jdb and my application failed to run (could not find the java class). When I checked the java version it was wrong. The version displayed the version Matlab was shipped with. I checked when ever I open Matlab from the start menu or desktop short cut I get the proper version. This version of java was set via environment variable MATLAB_JAVA. When I open matlab via the command prompt I get the installed version not the version listed in the MATLAB_JAVA enviroment variable. How can I run matlab -jdb and get the correct version of java?
1 Kommentar
Walter Roberson
am 25 Apr. 2018
"start menu" -- this is MS Windows?
Antworten (1)
Phillip Beamer
am 25 Apr. 2018
0 Stimmen
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!