Style: Normal Dark

12 February, 2008

Java Applets in Ubuntu

1 Comments

Written by Jason Davies Topics: applets, appletviewer, java, ubuntu

I was having trouble viewing Java applets in Ubuntu (hardy) earlier:

java_vm: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock’ failed.
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process died due to signal 6

The solution is to set the following environment variable in the shell beforehand.

export LIBXCB_ALLOW_SLOPPY_LOCK=1

This applies to appletviewer too.

Update: this is another possible solution (I haven't tested it).

1 Responses to “Java Applets in Ubuntu”

  1. Eric

    7 months, 2 weeks ago

    Thank you so much. Got same problem with OpenSuse 10.3, Firefox 2.0.0.12 & JDK 1.6 and now it works fine !

Leave a Comment

Powered by Django.