/bin/ksh: bad interpreter: No such file or directory
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
if [ "$JAVA_HOME" = "" ] ; then
echo "[ERROR] JAVA_HOME not set"
elif [ ! -f $JAVA_HOME/bin/javac ] ; then
echo "[ERROR] javac in $JAVA_HOME/bin/ not found. Wrong JAVA_HOME=$JAVA_HOME??"
if [ "$JBOSS_HOME" = "" ] ; then
echo "[ERROR] JBOSS_HOME not set"
# Classpath erweitern
if [ ! -f ./axis2-wsclient-gen.jar ] ; then
echo "[ERROR] axis2-wsclient-gen.jar in ./ not found"
if [ ! -f ./axis2-wrapper-gen.jar ] ; then
echo "[ERROR] axis2-wrapper-gen.jar in ./ not found"
if [ ! -f ./BPClient.jar ] ; then
echo "[ERROR] BPClient.jar in ./ not found"
if [ ! -f $JBOSS_HOME/bin/client/jboss-client.jar ] ; then
echo "[ERROR] jboss-client.jar in $JBOSS_HOME/bin/client/ not found"
for f in $(ls lib/axis2/*.jar)
#print "File: $f"
$JAVA_HOME/bin/javac -encoding ISO-8859-1 -classpath $MYCLASSPATH -d bin src/de/msg/businesspartner/client/sample/jboss/*.java
This is a ksh script. To interpret it you need ksh. You may be able to run it with bash if you replace the ksh in the first line, but I can't say if it will work as intended. The easiest way would be to just install ksh.