Originally posted by resego
eras....are you asking how you can run HelloWorld and staff like that..cuz to be honest your question is not clear
Yes it is.
You'll need to add the java bin directory to your path. The best way to do this so that it's there for every user is to edit /etc/profile as root and find the line that says PATH=........etc........
At the end of the line (but inside any "" marks) add:
(if that's where you put java and that's where its bin directory is...)
For that to take effect you'll either need to reboot or:
I actually have the first line of my .bashrc file (in each user's home dir) set to the above source line because sometimes bash run from xterm (i.e. as a non login shell) does not include the things in /etc/profile.