First, $PATH isn't a command, it is a variable. echo $PATH is what you should do to see its value. and /usr/lib/java shouldn't be an executable. Unless you've done some modifications yourself, I think you'll find it is in fact a symlink to the java version you're using at present, i.e. either 1.1.8 or 1.3. and $PATH contains /usr/lib/java, but it should - again unless you've modified the system yourself - contain /usr/lib/java/bin try this: export PATH=/usr/lib/java/bin:$PATH java -jar batik-svgbrowser.jar regards Anders On Wednesday 05 September 2001 23.49, tom poe wrote:
Hi: I need a little advice on fundamentals of $PATH. I had it once, but forgot to export, so lost it when I closed terminal session.
I have jkd1.18, jdk1.3, jre1.3, and an executable ./java sitting in /usr/lib. When I run the batik-svgbrowser.jar, I get: tompoe@aether:~/batik-1.0 > java -jar batik-svgbrowser.jar bash: java: command not found
When I run $PATH command, I have this at the moment: $> $PATH bash: /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games/bin:/usr/games:/opt/ gn ome/bin:
/opt/kde2/bin:/opt/kde/bin:.:/usr/lib/java:/usr/lib/jdk1.3:/usr/lib/jre1.3: / usr/lib: No such file or directory
Any suggestions? Thanks, Tom