Java Error in Ubuntu 7.10

2008-01-12
2013-04-11
  • Brett Alton
    Brett Alton
    2008-01-12

    As per: https://help.ubuntu.com/community/Freemind (installing this software source: deb http://eric.lavar.de/comp/linux/debian/ experimental/), I ran this:

    brett@office:~$ export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/
    brett@office:~$ export PATH=$PATH:/usr/lib/jvm/java-1.5.0-sun-1.5.0.13/bin/
    brett@office:~$ freemind

    and received:

    Checking Java Version...
    Locking assertion failure.  Backtrace:
    #0 /usr/lib/libxcb-xlib.so.0 [0xb1ad6767]
    #1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0xb1ad68b1]
    #2 /usr/lib/libX11.so.6(_XReply+0xfd) [0xb1b1b29d]
    #3 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/xawt/libmawt.so [0xb1c0ed7e]
    #4 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/xawt/libmawt.so [0xb1bf8d47]
    #5 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/xawt/libmawt.so [0xb1bf8ec3]
    #6 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/xawt/libmawt.so(Java_sun_awt_X11GraphicsEnvironment_initDisplay+0x26) [0xb1bf9106]
    #7 [0xb260bc1b]
    #8 [0xb2605b3b]
    #9 [0xb2605b3b]
    #10 [0xb2603219]
    #11 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/client/libjvm.so [0xb77bd1ac]
    #12 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/client/libjvm.so [0xb78d1c18]
    #13 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/client/libjvm.so [0xb77bcfdf]
    #14 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/client/libjvm.so(JVM_DoPrivileged+0x32d) [0xb781aa8d]
    #15 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/libjava.so(Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedAction_2+0x3d) [0xb75b830d]
    #16 [0xb260b4bb]
    #17 [0xb2605a64]
    #18 [0xb2603219]
    #19 /usr/lib/jvm/java-1.5.0-sun-1.5.0.13/jre/lib/i386/client/libjvm.so [0xb77bd1ac]
    java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
    Aborted (core dumped)