|
2009-12-17
, 19:37
|
Posts: 42 |
Thanked: 2 times |
Joined on Dec 2009
|
#32
|
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.
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"
|
2009-12-17
, 19:41
|
Posts: 20 |
Thanked: 4 times |
Joined on Nov 2009
@ The Netherlands
|
#33
|
|
2009-12-17
, 19:47
|
Posts: 151 |
Thanked: 72 times |
Joined on Sep 2009
|
#34
|
|
2009-12-17
, 19:51
|
Posts: 124 |
Thanked: 213 times |
Joined on Dec 2009
|
#35
|
The Following User Says Thank You to Dak For This Useful Post: | ||
|
2009-12-17
, 19:53
|
|
Posts: 850 |
Thanked: 626 times |
Joined on Sep 2009
@ Vienna, Austria
|
#36
|
If I'm in /home/opt/java/ejre1.6.0_10/bin and type "./java" I get "permission denied" ? (And this happens as root )
sudo gainroot cd /home/opt/java tar -xzvf /home/user/MyDocs/<filename>.tar.gz
|
2009-12-17
, 20:37
|
Posts: 42 |
Thanked: 2 times |
Joined on Dec 2009
|
#37
|
|
2009-12-17
, 20:43
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#38
|
|
2009-12-17
, 20:53
|
Posts: 124 |
Thanked: 213 times |
Joined on Dec 2009
|
#39
|
|
2009-12-17
, 21:29
|
|
Moderator |
Posts: 7,109 |
Thanked: 8,820 times |
Joined on Oct 2007
@ Vancouver, BC, Canada
|
#40
|
The Following User Says Thank You to qole For This Useful Post: | ||
unlike windows, linux shells usually don't have the current path in the PATH variable.
"What we perceive is not nature itself, but nature exposed to our method of questioning."
-- Werner Karl Heisenberg