Matlab 32-bit on ubuntu 64-bit

I was bugged to install Matlab 32-bit on my system that had a newly installed Ubuntu 64bit Linux.
Matlab couldn't find the right JRE for the 64-bit architecture and ran only in command-prompt.

After lot of wandering on the net, i found a simple solution the the problem. I had to manually set the JAVA path for matlab. For this i used the command :
export MATLAB_JAVA='/usr/lib/jvm/ia32-java-6-sun-1.6.0.06/jre'
After this i just ran the command to start matlab :
matlab -glnx86
Remmber to put it in .bashrc to get it done every time you start matlab from bash.

Comments

Popular posts from this blog

Adding jar files to weka

EMR master instance is not reachable

Compiz Desktop Effects Keyboard Shortcuts