MATLAB: MATLAB gets stuck at Launch Window with java errors

javaMATLABr2018bubuntu 16.04

issue.png
I have tried multiple installation/re-installations of MATLAB R2018b with Update5 and JAVA on Ubunut 16.04 LTS x64, I could not resolve the issue of JAVA HEAP overloading. I was wondering if there is anyway I could resolve this issue.

Best Answer

Realized that my .matlab folder in the home is reverting back the settings from earlier installations. I overcame this by deleting it and then doing a fresh re-installation.
Related Question