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.

  • What is your reaction?
  • powered by Verysign
  • like gnulinux.ro
    Like
  • unmoved gnulinux.ro
    Unmoved
  • amused gnulinux.ro
    Amused
  • excited gnulinux.ro
    Excited
  • angry gnulinux.ro
    Angry
  • sad gnulinux.ro
    Sad
TENDINTA  |  The new PinePhone Pro - the Pine64 flagship
FlorinM                   gnulinux.ro
FlorinM
Utilizator Linux - Solus OS, pasionat de calatorii.
2531 articole
In context



  • Comment
  • powered by Verysign

Nici un comentariu inca. Fii primul!