I recently installed MATLAB R2018b and experienced crashing on startup. Whenever I ran matlab from the terminal the splash would pop up for a few seconds, then the entire OS would freeze. I was forced to hard reset my computer as I was completely locked out. Because of this, no error messages or logs have been created at any point in time.
The problem seems similar to: https://nl.mathworks.com/matlabcentral/answers/405904-matlab-crashes-on-startup-when-using-jvm-ubuntu-16-04-1?s_tid=mlc_ans_email_view#answer_362302. I can run MATLAB successfully if I start it with the -nojvm option.
Thanks in advance for any help.