java cannot be used other than in root
when I log into root, i can do java command, but when I log into other account, I cannot do java command. the error msg is bash : java : command not found.
What can I do? |
Where did you define PATH to java?
|
err.. I dunno? how do I check?
|
he he he, how did you install java?
|
type into your /home/username/.bashrc
export PATH=/usr/java/j2sdk1.4xx/bin:$PATH (PATH has to point to your sdk/bin) be sure there is no other export PATH - command in that file below. if there is a commnd like that place your statement below that then 'source ~/.bashrc' logged in as user that's it cheers, jens |
err...thanks! I try that out. sort of complicated to me
|
It is not, just tell us the steps you performed to install java.
|
I used K package manager to install the RPM. Before I do that I remove everthing that is related to java. Java command run fine on root, but no such command with other account. how to make other account to have all the access and features of a root account? Superuser seem to be not enuuf in some case...like java?
|
Looks like you are (well until you read the thread) in the same boat as this thread:
http://www.linuxquestions.org/questi...threadid=30908 Cool |
All times are GMT -5. The time now is 06:31 PM. |