[Fedora-directory-users] JAVA_HOME problems after upgrade

Richard Megginson rmeggins at redhat.com
Fri Dec 2 18:09:36 UTC 2005


Thanks Del - https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174843

Del wrote:

> Richard Megginson wrote:
>
>> Yes.  Please see installation prerequisites here - 
>> http://directory.fedora.redhat.com/wiki/Install_Guide
>
>
> Even with the IBM J2SDK installed and JAVA_HOME set correctly,
> the lines:
>
> if [ ! -f java -a ! -x java ]
> then
>   echo "$0: The java program is not in your path, or is not executable."
>   exit 1
> fi
>
> ... in startconsole are always going to fail.  What is probably required
> are:
>
> if [ ! -f $JAVA_HOME/bin/java -a ! -x $JAVA_HOME/bin/java ]
> then
>   echo "$0: The java program is not in your path, or is not executable."
>   exit 1
> fi
>
> (see line 69 where it runs the correct java binary -- the test for "-f 
> java"
> is only going to work if the java binary is in the current directory, not
> in JAVA_HOME/bin where it should be).
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20051202/99f1e7e1/attachment.bin>


More information about the Fedora-directory-users mailing list