Meniu

... xcb_xlib_unlock: Assertion ... failed — Matlab JVM error

Few days back I have installed Red Hat Fedora . I have put Matlab on there as well. When I tried to start Matlab using this command:

matlab -nodesktop -nosplash  # ©2021 gnulinux.ro

the following error occurred.

MATLAB: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

This error is due to a Java Runtime Environment (JVM) bug. This bug has already been addressed by Sun developers, however Fedora 8 ships with an older JVM that still suffers from it. The best way to fix the problem is to update your JVM to the most current version using your favourite package manager. If, for whatever reason, that is not an option, you can still run Matlab by disabling its JVM support using -nojvm switch like this:

matlab -nodesktop -nosplash -nojvm  # ©2007 gnulinux.ro

or simply:

matlab -nojvm  # ©2021 gnulinux.ro

Using either of the above commands from shell, Matlab starts without a glitch.

                                    < M A T L A B >
                        Copyright 1984-2021 The MathWorks, Inc.

FlorinM

Utilizator Linux - Solus OS, pasionat de calatorii.
  • | 2708 articole

Nici un comentariu inca. Fii primul!
  • powered by Verysign