[CentOS] Re: centos] [OT] IBM JRE for CentOS Plus/Extras?, JPackage, etc... -- Firefox and Java on CentOS 4.1
R P Herrold
herrold at owlriver.com
Tue Aug 16 14:58:28 UTC 2005
On Tue, 16 Aug 2005, Bryan J. Smith wrote:
> With that said, has anyone looked at building a RPM for the IBM JRE for,
> say, CentOS Plus and/or Extras? I know it's not quite as compatible,
IBM already releases one.
The short version of the install process is:
[herrold at centos-4 java]$ cat README
RPH on installing the IBM JRE java environment
on CentOS-4 series:
======================================================
1. 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
2. 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 .
5. Reboot, to confirm it all works from a standing start
[herrold at centos-4 java]$
More information about the CentOS
mailing list