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. (?!) Message-ID: <20040603132035.7d1556a1@localhost>
next in thread | raw e-mail | index | archive | help
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?20040603132035.7d1556a1>