Wednesday, January 12, 2011

Matlab for UBUNTU, errors: Locking assertion failure

This error happens because matlab can not find out the java.
The solution is very simple, add follow line to the ~/.bashrc file:

export MATLAB_JAVA=/usr/lib/jvm/java-6-sun/jre

No comments: