Export the java path worked fine for matlab.
Just add export "MATLAB_JAVA=/usr/lib/jvm/java-6-sun-1.6.0.06/jre" (adjust the version) at first line in /$MATLAB/bin/matlab
For maple11 it has to be done different:
sudo mv /opt/maple/jre.IBM_INTEL_LINUX/bin/java /opt/maple/jre.IBM_INTEL_LINUX/bin/java.old
sudo ln -s /usr/bin/java /opt/maple/jre.IBM_INTEL_LINUX/bin/java
(for 32bit Ubuntu)
Now both programms work just fine without giving any errors when started.
Export the java path worked fine for matlab. JAVA=/usr/ lib/jvm/ java-6- sun-1.6. 0.06/jre" (adjust the version) at first line in /$MATLAB/bin/matlab
Just add export "MATLAB_
For maple11 it has to be done different: jre.IBM_ INTEL_LINUX/ bin/java /opt/maple/ jre.IBM_ INTEL_LINUX/ bin/java. old jre.IBM_ INTEL_LINUX/ bin/java
sudo mv /opt/maple/
sudo ln -s /usr/bin/java /opt/maple/
(for 32bit Ubuntu)
Now both programms work just fine without giving any errors when started.