Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java for root only?

843798Nov 30 2002 — edited Dec 4 2002
i 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 1 2003
Added on Nov 30 2002
2 comments
186 views