looks like it should work.
Here is the segment of the script:
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
else
JAVACMD=java
fi
fi
if [ ! -x "$JAVACMD" ] ; then
echo "Error: JAVA_HOME is not defined correctly."
echo " We cannot execute $JAVACMD"
exit
fi
if [ -z "$JAVA_HOME" ] ; then
echo "Warning: JAVA_HOME environment variable is not set."
echo " If build fails because sun.* classes could not be found"
echo " you will need to set the JAVA_HOME environment variable"
echo " to the installation directory of java."
fi
Can you run that on its own and check if it also fails?
If so, run it with set -x first and post the output.
Thanks,
Brett
On Thu, 23 Sep 2004 16:18:53 +0200, Michael Holtermann
<[EMAIL PROTECTED]> wrote:
> Hi Jeff!
>
> jeff mutonho wrote:
> >> > But JAVA_HOME is set to the very correct path:
> >> > $ echo $JAVA_HOME
> >> > /usr/lib/j2sdk1.5-sun
> > But that doesn't mean you're setting it to the correct
> > path.Is j2sdk1.5-sun your root directory for the
> > jsdk?By that I mean , is j2sdk1.5-sun the directory
> > containing
> > the sub-directories
> > /bin
> > /demo
> > /include
> > ...etc?
>
> It should be the root directory:
>
> $ ls -m $JAVA_HOME
> bin, demo, include, jre, lib, man, sample, src.zip, UNINSTALL-jai (and some
> *.txt-files).
>
> Thanks!
>
>
>
> Greetings, Michael.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]