R P Herrold herrold@owlriver.com wrote:
IBM already releases one.
I assumed so.
The short version of the install process is: [herrold@centos-4 java]$ cat README
Install the pre-requs and the package:
cd /home/herrold/download/IBM/java sudo yum -y install compat-libstdc++-33 compat-libstdc++-296 sudo rpm -Uvh IBMJava2-142-ia32-SDK-1.4.2-1.0.i386.rpm
Is there any way the IBMJava2 package can be distributed in CentOS Plus and/or Extras? BTW, I assume the compat-libs are already in CentOS itself?
- Update the path:
/opt/IBMJava2-142/bin ... manually edit /etc/profile, and add: # for IBM java pathmunge /opt/IBMJava2-142/bin before ... just before the "# No core files by default" is a good spot for it 3. (Optional) Make the CLASSPATH explicit, but adding it to /etc/profile : export CLASSPATH=/opt/IBMJava2-142/bin -- verify this TBD 4. (Optional) - Make java available to 'mozilla': cd /usr/lib/mozilla/plugins/ sudo ln -s /opt/IBMJava2-142/jre/bin/libjavaplugin_ojigcc3.so . (for early versions (mozilla-1.4 and earlier) [as root] cd /usr/lib/mozilla/plugins/ ln -s/opt/IBMJava2-142/jre/bin/libjavaplugin_oji.so .
Any way to make these part of the post-install script?
Or maybe just create another package in CentOS Plus/Extras that has all the previous packages (compat-libs, IBMJava2, etc...) as pre-requisities and does it for you?