java for root only?
843798Nov 30 2002 — edited Dec 4 2002i installed java and i'm running one java chat. it works fine. the problem is that java is available for root user only. when i login as a normal user I get java: command not found.
[root@ainars /root]# which java
/usr/java/j2re1.4.0/bin/java
[root@xxx ok]# java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
[ainars@ainars ainars]$ java -version
bash: java: command not found
Does anyone know hot to enable java for users so that they can install chats and other things in their directories?
I use Ensim software on my server and it runs a chroot'd enviroment for shell users.