Environment
Novell Service Desk
SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server 11 Service Pack 2
Situation
Unable to install Novell Service Desk on SLES 11 SP1 or SP2
'java -jar Installer.jar' throws error that java is not recognized
Any java command fails as an unrecognized command
Resolution
Add java to the variable path
For Example:
export PATH="$PATH":/usr/java/jre1.6.0_31/bin
Then attempt to install the jar file again
Additional Information
This issue was found in SLES 11 SP1 and SP2. However, this issue could occur in other operating systems as well.
Please see the following link for information how to set the variable path in different operating systems.