From owner-freebsd-questions Mon Jan 22 11:25:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [200.52.207.52]) by hub.freebsd.org (Postfix) with ESMTP id BC39837B400 for ; Mon, 22 Jan 2001 11:25:21 -0800 (PST) Received: from Alesito (ales.corp.megared.net.mx [200.52.193.2]) by unix.megared.net.mx (8.11.0/8.11.0) with SMTP id f0MJLhD35984; Mon, 22 Jan 2001 13:21:43 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <025801c084a9$18ee8c40$d3620a0a@megared.net.mx> From: "Alejandro A. Ramirez" To: "Mike Dewhirst" , References: <01012218444500.00557@anjuna.com> Subject: Re: /usr/local/jdk1.3/bin/java: /usr/bin/expr: not found Date: Mon, 22 Jan 2001 13:25:36 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG See : http://www.freebsd.org/java/ Its in the ports colection now (ntive version of 1.2). Greetings... Ales ----- Original Message ----- From: "Mike Dewhirst" To: Sent: Monday, January 22, 2001 12:34 PM Subject: /usr/local/jdk1.3/bin/java: /usr/bin/expr: not found > After installing FreeBSD 4.02 with Linux compatibility, I have downloaded and > installed Sun's Java 2 JDK1.3. After adding the */jdk1.3/bin to path and > setting JAVA_HOME, I tried to test the JDK, by executing "java". > > I get the following error: > > > > usr/local/jdk1.3/bin/java: /usr/bin/expr: not found > /usr/local/jdk1.3/bin/java: /usr/bin/expr: not found > Error: can't find libjava.so. > ---- > # ./java > ./java: /usr/bin/expr: not found > ./java: /usr/bin/expr: not found > Usage: java [-options] class [args...] > (to execute a class) > or java -jar [-options] jarfile [args...] > (to execute a jar file) > > where options include: > -cp -classpath > set search path for application classes and resources > -D= > set a system property > -verbose[:class|gc|jni] > enable verbose output > -version print product version and exit > -showversion print product version and continue > -? -help print this help message > -X print help on non-standard options > ---- > If I run ./java from */jdk1.3/bin, I get: > > Can somebody please tell me what I've done/not done wrong? I am new to UNIX and > FreeBSD, so please don't assume anything. > > Thank you in advance, > > Mike Dewhirst > Dolphintime.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message