|
cannot execute message
I am trying to install a piece of software using the provided install script, but when I run it, I get the following message: ./tem.sh[15]: /export/home/data/SoftwareSource/TcEng2005SR1/install/jre/bin/java: cannot execute
I navigated to that directory and tried to execute java and it returns the same message:
$ ./java
ksh: ./java: cannot execute
The install script is as follows:
#!/bin/ksh
SCRIPTDIR=`dirname $0` # The dir containing this script.
SCRIPTDIR=`cd ${SCRIPTDIR}; pwd` # Convert it to an absolute path -
cd ${SCRIPTDIR}
JARS=`ls -m install/*.jar|tr -s ',' ':'|tr -d ' \n'`
${SCRIPTDIR}/install/jre/bin/java -cp ${JARS} com.teamcenter.install.tem.struct.Tem $1 $2 $3
Any help is much appreciated,
mncduffy
|