Faça o Download Manual do JRE 1.0.5

http://java.com/en/download/manual.jsp

Eu escolhi baixar
Linux RPM (self-extracting file)
(filesize: 15.74 MB)

Depois de baixar o arquivo: jre-1_5_0_09-linux-i586-rpm.bin
Torne-o executável com o comando:
[root@localhost downloads]# chmod a+x jre-1_5_0_09-linux-i586-rpm.bin

2) Agora é só executar o arquivo
[root@localhost downloads]# ./jre-1_5_0_09-linux-i586-rpm.bin

3) Ao aparecer a opção [more] basta teclar 'q' para ir para o final da licença.

[root@localhost downloads]# ./jre-1_5_0_09-linux-i586-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement

for the JAVA 2 PLATFORM STANDARD EDITION RUNTIME ENVIRONMENT
5.0

SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE CONDITION
THAT YOU ACCEPT ALL OF THE TERMS CONTAINED IN THIS BINARY
CODE LICENSE AGREEMENT AND SUPPLEMENTAL LICENSE TERMS
(COLLECTIVELY "AGREEMENT"). PLEASE READ THE AGREEMENT
CAREFULLY. BY DOWNLOADING OR INSTALLING THIS SOFTWARE, YOU
ACCEPT THE TERMS OF THE AGREEMENT. INDICATE ACCEPTANCE BY
SELECTING THE "ACCEPT" BUTTON AT THE BOTTOM OF THE
AGREEMENT. IF YOU ARE NOT WILLING TO BE BOUND BY ALL THE
TERMS, SELECT THE "DECLINE" BUTTON AT THE BOTTOM OF THE
AGREEMENT AND THE DOWNLOAD OR INSTALL PROCESS WILL NOT
CONTINUE.

1. DEFINITIONS. "Software" means the identified above in
binary form, any other machine readable materials
(including, but not limited to, libraries, source files,
header files, and data files), any updates or error
corrections provided by Sun, and any user manuals,
programming guides and other documentation provided to you
by Sun under this Agreement. "Programs" mean Java applets
and applications intended to run on the Java 2 Platform
Standard Edition (J2SE platform) platform on Java-enabled
general purpose desktop computers and servers.

2. LICENSE TO USE. Subject to the terms and conditions of
this Agreement, including, but not limited to the Java
Technology Restrictions of the Supplemental License Terms,
Sun grants you a non-exclusive, non-transferable, limited
license without license fees to reproduce and use internally
Software complete and unmodified for the sole purpose of
running Programs. Additional licenses for developers and/or
publishers are granted in the Supplemental License Terms.

Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-1_5_0_09-linux-i586.rpm
A preparar... ########################################### [100%]
1:jre ########################################### [100%]

Done.

Agora edite um arquivo qualquer para criar um Script.
Como exemplo criei o arquivo copyLinkJRE com o seguinte conteúdo:

#!/bin/bash
ln -s /usr/java/jre1.5.0_09/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins

Depois tornei-o executável:
chmod a+x copyLinkJRE

Por fim é só executá-lo: ./copyLinkJRE