Finding Java Home?

Solaris 10

In the installation documentation for an application I am installing it says to run something from <JAVAHOME>

Where is Java Home/JAVAHOME, how can I find it?

I have tried echo $JAVAHOME but there is not output.

Any ideas?

Thanks

edit: there is a directory called 'jdk150_13' which I am guessing is the JAVA HOME. When I tried to run the command from there I got this error message:
bash: jdk150_13binjar: command not found

You need to explicitly set JAVA_HOME or JAVAHOME as the documentation asks you to. Set it as follows for bash/ksh shell

export JAVAHOME=/path/to/jdk150_13

Thanks. Tried it but am still getting:
bash: jdk150_13binjar: command not found

What is the command you are trying to run ?

Have you tried /jdk150_13/bin/jar

Also, I believe $JAVAHOME/bin must be set in the PATH

Try find java_vm file in your system and print the output here.