Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 09:32:26 +0200 (EET)
From:      pgd@telehorizon.com
To:        Mike Dewhirst <mike@dolphintime.com>
Cc:        Freebsd <freebsd-questions@FreeBSD.ORG>
Subject:   Re: /usr/local/jdk1.3/bin/java: /usr/bin/expr: not found
Message-ID:  <980235146.3a6d338a10414@webmail.telehorizon.com>
In-Reply-To: <01012218444500.00557@anjuna.com>
References:  <01012218444500.00557@anjuna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
to use jdk1.3 in freeBSD4.x follow the steps:

1. go to <your path>/jdk1.3/bin
2. view hidden files
3. open the script called 'java wrapper' with your favoutite editor
and change the following lines with arrrows:

# Resolve symlinks. See 4152645.
while [ -L "$PRG" ]; do
    ls=`/bin/ls -ld "$PRG"`
->    link=`/compat/linux/usr/bin/expr "$ls" : '.*-> \(.*\)$'`
->    if /compat/linux/usr/bin/expr "$link" : '/' > /dev/null; then

4.lastly go to the file .cshrc (if you use (t)csh) and add :
set path = (<your path>/jdk1.3.0_01/bin $path)

then you should run jdk1.3 

bye
//Giannis


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?980235146.3a6d338a10414>