I'm debugging an script for an old software that was designed for Solaris 7 or 8, I'm trying to deploy to Solaris 10.
Foun that the reason it is failing is because it can't execute java from the script path, I was able to reproduce from the shell.
an example to show it clearly
Assume JRE installed at: /opt/product/tools/jre1.4.
0
If current is /opt/product/bin
running ./../tools/jre1.4.0/bin/ja
va says "cannot execute"
if ran from /opt/product/tools/jre1.4.
0/bin
running java, shows the usual command line help message
I guess it maybe be some kind of security or shell parameter that can be changed