From owner-freebsd-questions Mon Jan 22 23:35:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from thessaloniki.telehorizon.com (unknown [195.66.101.99]) by hub.freebsd.org (Postfix) with ESMTP id D91E037B400 for ; Mon, 22 Jan 2001 23:35:25 -0800 (PST) Received: (from nobody@localhost) by thessaloniki.telehorizon.com (8.9.3/8.9.3) id JAA48980; Tue, 23 Jan 2001 09:32:26 +0200 (EET) (envelope-from pgd@thessaloniki.telehorizon.com) From: pgd@telehorizon.com X-Authentication-Warning: thessaloniki.telehorizon.com: nobody set sender to pgd@telehorizon.com using -f To: Mike Dewhirst Subject: Re: /usr/local/jdk1.3/bin/java: /usr/bin/expr: not found Message-ID: <980235146.3a6d338a10414@webmail.telehorizon.com> Date: Tue, 23 Jan 2001 09:32:26 +0200 (EET) Cc: Freebsd References: <01012218444500.00557@anjuna.com> In-Reply-To: <01012218444500.00557@anjuna.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.3 X-Originating-IP: 195.66.101.98 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG to use jdk1.3 in freeBSD4.x follow the steps: 1. go to /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 = (/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