>how to set path?
You needto set the bin directory of the java installation directory in your PATH. So if you installed in /opt/java, put /opt/java/bin in your PATH. You set it the same as you would for anything else you want to set in your PATH. The exact steps/syntax to do so may vary slightly depending on what shell you use. Do a Google search for setting PATH in Linux for your shell and
you should get plenty of hits to help you.
>how to compile and run? are the commands are same?
Yes the commands are the same on Unix, Linux, Windows, etc. javac and java
>in which editor, i have to work (like command prompt in windows).
You can edit using any plain text editor: vi, vim, emacs, EditPad, etc. The editor can be command line or GUI based, as long as it is a plain text editor (i.e. saves files in plain text and not binary, and doesn't insert any formatting or additional markup). You will need to use a command line to compile and run from.
[ February 16, 2005: Message edited by: Mark Vedder ]