2008-02-06

Java + Compiz

Start by downloading this patch for the jre engine, and then move it to the path of the folder and uncompress it.

$ cd /path/of/the/patch/
$ tar -xf patch.tar
$ cd patch


Now You will do a backup off rt.jr. Usually the path to rt.jr is /usr/lib/jvm/java-6-sun/jre/lib/. I suppose that you are using the latest sun java version.

$ sudo cp /usr/lib/jvm/java-6-sun/jre/lib/rt.jar /usr/lib/jvm/java-6-sun/jre/lib/rt.jar.old
$ sudo cp /usr/lib/jvm/java-6-sun/jre/lib/rt.jar rt.zip



Now you will apply the patch:

$ zip -f rt.zip sun/awt/X11/*
$ sudo cp rt.zip /usr/lib/jvm/java-6-sun/jre/lib/rt.jar


After that you will be able to run any application who use java, like mercury messenger.

2 comments:

Unknown said...

it doesn't work for me !!!!

Anonymous said...

for me neither