system upgrades

software upgrade .2

  1. Java Development Kit: Update 6

First I needed to install the fedora RPM development tools so I could slightly edit the installation files. I did this by opening another terminal, becoming root again and typing the following into it:

sudo yum install fedora-rpmdevtools

The program then searched the repositories for the file and asked if I wanted to download the tools or not. I typed 'y' and it downloaded the file and installed the tools.

I then built the rpmbuild tree by typing the following in the terminal:

fedora-buildrpmtree

Then I downloaded the jpackage.repo from JPackage and the following was shown in the terminal:

[localhost ~]$ cd /etc/yum.repos.d/
[localhost yum.repos.d]$ sudo wget http://www.jpackage.org/jpackage.repo
--11:38:19--  http://www.jpackage.org/jpackage.repo
           => `jpackage.repo'
Resolving www.jpackage.org... 212.85.153.228
Connecting to www.jpackage.org[212.85.153.228]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 629 [text/plain]

100%[======================================================>] 629

11:38:20 (1.30 MB/s) - `jpackage.repo' saved [629/629]

[localhost yum.repos.d]$

Now it was time for me to download the actual Java development kit update by going to the Sun Microsystems website. I chose to download the Linux self-extracting version. When it had finished downloading I then copied the file to the rpmbuild directory by typing the following into the terminal:

cp jdk-1_5_0_06-linux-i586.bin ~/rpmbuild/SOURCES/ 

Then I downloaded: java-1.5.0-sun-1.5.0.05-1jpp.nosrc.rpm from JPackage. This is the file I would be tweaking so that it would enable Update 6 to work with Fedora Core 4. I then tweaked it using rpmbuild and compiled a new tweaked version called: java-1.5.0-sun-1.5.0.06-1jpp.i586.rpm.

Finally I proceeded to install the java packages. To show that the installation was complete, the terminal displayed the following:

Installed: java-1.5.0-sun.i586 0:1.5.0.06-1jpp java-1.5.0-sun-alsa.i586
0:1.5.0.06-1jpp java-1.5.0-sun-demo.i586 
0:1.5.0.06-1jpp java-1.5.0-sun-devel.i586 
0:1.5.0.06-1jpp java-1.5.0-sun-fonts.i586 
0:1.5.0.06-1jpp java-1.5.0-sun-jdbc.i586 
0:1.5.0.06-1jpp java-1.5.0-sun-plugin.i586 
0:1.5.0.06-1jpp java-1.5.0-sun-src.i586 
0:1.5.0.06-1jpp 
Dependency Installed: unixODBC.i386 0:2.2.11-3.FC4.1 
unixODBC-devel.i386 0:2.2.11-3.FC4.1 
Complete!

To quickly test to see if the software was installed correctly, I checked the java version installed by typing the following into the terminal:

java -version

The terminal told me the following:

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) 
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) 

The installation was successful! Click next to continue...

NEXT >