View Single Post
Posts: 42 | Thanked: 2 times | Joined on Dec 2009
#32
Originally Posted by SubCore View Post
when you're in /home/opt/java/ejre1.6.0_10/bin, did you type just "java" or "./java" ? note the dot and the slash at the beginning.
unlike windows, linux shells usually don't have the current path in the PATH variable.
If I'm in /home/opt/java/ejre1.6.0_10/bin and type "./java" I get "permission denied" ? (And this happens as root )

Originally Posted by Dak View Post
I think you also have to kill and restart your xterm so the new profile path gets refreshed...you can test this by just typing "ja" then hitting tab...it should autocomplete to "java"
The autocomplete works with java but only without "sudo gainroot".

There's got to be some silly mistake I've made, but I just can't seem to figure it out...