FYI: You can easily use IBM JDK with OpenOffice.org

Kevin B. Hendricks yellowdog-general@lists.terrasoftsolutions.com
Thu Nov 20 14:27:03 2003


Hi,

FYI:  

Simply by renaming the IBM jdk directory to j2sdk1.4.1 and adding some symlink 
trickery so that jre/lib/ppc, jre/lib/classic, and jre/lib/native_threads 
appeared to exist and have the right contents inside the IBM JDK I was able 
to get the OOo 1.1.1 installer to recognize the IBM JDK 1.4.1 with JIT 
enabled as an official  JDK for OpenOffice.org

To make sure it all works, I was able to install and use the WYSIWYG Jex Java 
math formula editor and happily able to run it successfully.

Please note that the jvmaccess module in my tree has been modified to look in 
classic and native_threads since it was meant to work with the Blackdown JDK 
1.3.1 for PPC Linux, so under another processor your symlinks would point to 
client and not native_threads under another platform like x86.

The real changes to support an IBM JDK in jvmaccess are nothing more that 
changing paths so that the JDK can find the things it expects.

Grepping the output of java -version for IBM is enough to recognize and adjust 
the links accordingly.

I will try to create a proper patch for jvmaccess to support IBM jdks.

Hope this helps,

Kevin