$ 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:
it doesn't work for me !!!!
for me neither
Post a Comment