From owner-freebsd-questions Mon Jan 22 10:56:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from anjuna.com (node28.coloursystems.com [212.117.231.28]) by hub.freebsd.org (Postfix) with ESMTP id 3174037B400 for ; Mon, 22 Jan 2001 10:56:32 -0800 (PST) Received: from anjuna.com (localhost.dolphintime.com [127.0.0.1]) by anjuna.com (8.11.1/8.11.1) with SMTP id f0MIvq500664 for ; Mon, 22 Jan 2001 18:57:53 GMT (envelope-from mike@dolphintime.com) From: Mike Dewhirst To: freebsd-questions@freebsd.org Subject: /usr/local/jdk1.3/bin/java: /usr/bin/expr: not found Date: Mon, 22 Jan 2001 18:34:15 +0000 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <01012218444500.00557@anjuna.com> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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