Information about Using DrJava with Compiz

Introduction

Compiz is a window manager for the X Window System on Linux. It uses 3D graphics hardware to display windows and special effects.

Unfortunately, using Compiz together with Java's Swing GUI library causes problems (see bug report): DrJava or your entire system may crash.

This issue is caused by an incompatibility between Compiz and Java, and we, the developers of DrJava, cannot do anything to fix this problem. We hope that future versions of Java and Compiz will address the incompatibility. In the meantime, we recommend that you disable Compiz if you experience problems. We also suggest that you use the latest versions of Compiz and Java, so you can benefit from possible bug fixes made by Sun and the Compiz developers.

Below, we have instructions for some common Linux distributions.


Disable Compiz on Ubuntu

On Ubuntu (7.10 or newer), please do the following to disable Compiz:

  1. Click on the System menu.
  2. Select Preferences.
  3. Select Appearance.
  4. Display the Visual Effects tab.
  5. Select None.
  6. Close the Appearance Preferences window.


Disable Compiz from the Terminal

Open a Terminal (or Console or Command Line Window) and type the following to disable Compiz:

  metacity --replace &
  
This assumes that you have the Metacity window manager installed on your system.

Hosted by SourceForge.net DrJava is partially funded by the National Science Foundation, the Texas Advanced Technology Program, and Sun Microsystems, Inc.