PDA

View Full Version : Simulink crashes down



lyxamon
19th April 2008, 12:16 PM
Hi,

i have the problem to run simulink on my fedora 8. Matlab runs without any problem, but if i want to run simulink matlab crashes down.

I found in the web the solution to write in the matlab/bin/matlab script this:


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

if i writ in matlab:


version -java

i get this result:


ans =

Java 1.4.2_02 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
(mixed mode)


But i have installed java1.7.0 icedtea and i added the url-paht of the installed version to the script, and if i want to start matlab i get always this error message:


Failed to start the Desktop: Failure loading desktop class

Does anyone has the same problems?

Jamwa
19th April 2008, 07:05 PM
try set your JAVA_HOME variable independently

i.e

export JAVA_HOME=/usr/java/jdk1.6.0_03

then

export MATLAB_JAVA=$JAVA_HOME