Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2004 02:07:09 -0400
From:      epilogue@allstream.net
To:        freebsd-questions@freebsd.org
Subject:   java not running .jar files without absolute path.  (take II)
Message-ID:  <20040609020709.6513d884@localhost>

next in thread | raw e-mail | index | archive | help

anyone have thoughts on the below?  thanks.


------
Begin forwarded message:

Date: Thu, 3 Jun 2004 13:20:35 -0400
From: epilogue@allstream.net
To: freebsd-questions@freebsd.org
Subject: java not running .jar files without absolute path.


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



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