If you are installing, then properly prepare the
installation image. Obtain a product installation .tar file directly from
Passport
Advantage, or use the tar command to collect the content of the
product CD into a single .tar file on a Linux system.
Then untar that content to the target system. Do not use the cp
command to copy the content to a different location on the system, as this
does not preserve the symbolic links in the java/bin
directory.
Also, do not collect the content of the product installation CD on a
Microsoft® Windows® system, then transfer the content from that system to
the Linux system.
The file listing below shows the symbolic links which must be
present in the install_root/java/bin directory.
These files must appear this way when listed using the ls -la
command.
java -> ../jre/bin/java
javaw -> ../jre/bin/javaw
jvmtcf -> ../jre/bin/jvmtcf
keytool -> ../jre/bin/keytool
oldjava -> ../jre/bin/oldjava
oldjavaw -> ../jre/bin/oldjavaw
policytool -> ../jre/bin/policytool
rmiregistry -> ../jre/bin/rmiregistry
rmid -> ../jre/bin/rmid
tnameserv -> ../jre/bin/tnameserv
If these symbolic links are not present, or if the files are
represented by actual content instead of symbolic links, they must be
recreated.
Use the ln command to create the symbolic links. Go to the
install_root/java/bin directory, and use the
command as follows on each of the files listed above:
ln -s
file_name symbolic_link_path
For example, to repair the Java file, use this command:
ln -s java ../jre/bin/java
After all the symbolic links are restored, the Java error is
resolved.
|