Installing Java on Fedora Core 3 using JDK 1.4.2

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

But required JDK 1.4.2 to be used in place of 1.5


rpm -Uvh java-1.4.2-sun-

Download the self extracting version j2dsk-1_4_2_07-linux-i586.bin from

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>