View Full Version : system freezes during matlab startup

26th October 2005, 01:48 AM

I have been trying to install matlab today, on Fedora 4.0 running on
Athlon64. The first time I installed it, due to some cd mounting
problem (I think), not all the relevant toolboxes were installed. So
I uninstalled matlab by rm -rf on the whole directory. I did not
install the license manager, that is handled elsewhere. Matlab
started fine under this installation (after adding the

After the second time I installed, although all toolboxes are
present, the whole system freezes when matlab starts (the bottom left
corner says initializing). This can be avoided by using the -nojvm
option but this of course means that I can't edit the preferences,
amongst other things.

I have not even able to get hold of a crash log as -logfile file
options produces empty file if the freeze occurs.

Has anyone encountered this problem? How would I go about fixing it?



Janus Hector
26th October 2005, 09:46 PM
Hi Shaobo:
Sounds like a problem with the Java VM. I've have seen a similar problem where Matlab crashed any time I called the help. In the end it was a conflict between the JVM provided with Matlab and that of the JDK installed elsewhere, but placed first in the user path.
Solved it ensuring that not other JVM was available to the user at the time of Matlab startup, eg. using a front-end script to call Matlab removing any setting related to Java.

26th October 2005, 10:14 PM
What is options for removing java settings? I have tried actually uninstalling gcj, but that didn't help. I have also tried to use a different jvm (blackdown) but matlab complains it can't find libjvm.so but it can find libjava.so. Annoying.