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.

3 comments:

Slim said...

it doesn't work for me !!!!

Anonymous said...

for me neither

Kale Co Jakim said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a Java developer learn from Java Training in Chennai. or learn thru Java Online Training in India . Nowadays Java has tons of job opportunities on various vertical industry.