8.1 C
Vancouver
Saturday, November 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.

http://www.mksearch.mkdoc.org/howto/jpackage-sun-fc3/

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-1.4.2.07-1jpp.nosrc.rpm 

rpm -Uvh java-1.4.2-sun-1.4.2.07-1jpp.nosrc.rpm

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-1.4.2.07-1jpp.i586.rpm java-1.4.2-sun-devel-1.4.2.07-1jpp.i586.rpm

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

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article