/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 you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.