Installer or startServer script cannot find Java files in the /java/bin/exe directory for WebSphere Application Server V5
 Technote (troubleshooting)
 
Problem(Abstract)
When invoking the WebSphere® Application Server V5 installer or startServer.sh script, the Java™ 2 SDK reports an error similar to the following:

"java was not found in path/java/bin/exe"
 
Cause
The error described in this technote might occur when installing the WebSphere Application Server product, or when attempting to start the server for the first time.
 
Resolving the problem
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.

 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Install
Operating system(s): Windows
Software version: 5.1
Software edition:
Reference #: 1163692
IBM Group: Software Group
Modified date: Sep 11, 2004