10.8 C
Thursday, May 23, 2024

Installing Java on Fedora Core 3 using JDK 1.4.2

Must read

Excellent Howto for setting up Tomcat5 from jpackage.org on RedHat Fedora Core3.


But required JDK 1.4.2 to be used in place of 1.5

Downloaded http://mirrors.sunsite.dk/jpackage/1.6/generic/non-free/SRPMS/java-1.4.2-sun- 

rpm -Uvh java-1.4.2-sun-

Download the self extracting version j2dsk-1_4_2_07-linux-i586.bin from http://java.sun.com/products/archive/j2se/1.4.2_07/index.html

Moved it into /usr/src/redhat/SOURCE

cd /usr/src/redhat/SPECS

rpmbuild -ba java-1.4.2-sun.spec

Just need to install java and java-devel

cd /usr/src/redhat/RPMS/i586

rpm -Uvh –nodeps java-1.4.2-sun- java-1.4.2-sun-devel-

Need to use the –nodeps flag since the spec generates some dependicies that are only for Solaris.

After installing jta need to install xml-commons-apis before installing tomcat5

yum -y install xml-commons-apis

Then finally

yum -y install tomcat5 tomcat5-admin tomcat5-webapps

More articles


Please enter your comment!
Please enter your name here

Latest article