From owner-freebsd-questions@FreeBSD.ORG Thu Jun 3 10:20:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BFAF16A4CE for ; Thu, 3 Jun 2004 10:20:40 -0700 (PDT) Received: from outbox.allstream.net (outbox.allstream.net [207.245.244.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84B0C43D2F for ; Thu, 3 Jun 2004 10:20:39 -0700 (PDT) (envelope-from epilogue@allstream.net) Received: from localhost (mon-pq50-151.dial.allstream.net [216.123.140.23]) by outbox.allstream.net (Allstream MTA) with SMTP id E1D6F5D1E for ; Thu, 3 Jun 2004 13:20:37 -0400 (EDT) Date: Thu, 3 Jun 2004 13:20:35 -0400 From: epilogue@allstream.net To: freebsd-questions@freebsd.org Message-Id: <20040603132035.7d1556a1@localhost> X-Mailer: Sylpheed version 0.9.11claws (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: java not running .jar files without absolute path. (?!) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 17:20:40 -0000 hey all, > which java /usr/local/jdk1.4.2/bin/java > java -jar Jreepad-1.0.jar Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. however, the program will run with an absolute path: > /usr/local/jdk1.4.2/bin/java -jar Jreepad-1.0.jar i don't see any typos in my $PATH (witness 'which' result above). the same occurs with linux-sun-jdk (when i put it earlier in the $PATH) am i missing something? is this standard behaviour for java? thanks! epi