MATLAB freezes entire OS (Linux Mint "Tara" 19) on splashscreen, -nojvm works just fine.

1 view (last 30 days)
Hi All,
When I start up MATLAB on my Lenovo Ideapad 330 (OS: Linux Mint "Tara" 19) (and I've tried MATLAB 2018a, 2017a, 2015b) my CPU fans start like crazy and it leads to an entire system stall, forcing me to restart the computer. I've tried to output any errors using:
"matlab -desktop -logfile test.log"
but the log file is empty even after leaving the computer stalled for a long time. It doesn't completely stall, in that occasionally I'll gain control back of my mouse or some of the interface (occasionally long enough for me to close the terminal, if I'm lucky).
Now, MATLAB runs just fine if I provide it with the -nojvm option. It crashes if I just run -nodesktop, but if I run -nojvm it runs just fine, which leads me to believe it's a java issue. I tried installing a new version of Java, Java 8, but it didn't seem to change anything:
"sudo apt install oracle-java8-installer"
Thanks for any input!
Jon
  2 Comments
Andreu Angles Castillo
Andreu Angles Castillo on 15 Nov 2018
I have exactly the same issue, but on Ubuntu. -nojvm option works, but it freezes otherwise. I have tried several java versions but still no succes.

Sign in to comment.

Answers (1)

Kartik Mittal
Kartik Mittal on 25 Sep 2018
  8 Comments
Aman Malekar
Aman Malekar on 3 Nov 2020
I tried the given suggestion, but it did not work. I cannot use Matlab in Ubuntu 18.04. Downloaded two different versions of MATLAB but no luck. Can anyone suggest a fix please?

Sign in to comment.

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!