As you said ' To set PATH, open the ~/.bashrc file '
i want to know where is 'bashrc' located.
Um, the tilde (~) equates to your home directory, so ~/.bashrc is the location of the file. If the file does not exist, you can create it.
[code]And i can see that java is installed in 'root/bin/java'.
I assume that is a type and you mean to type "/root/bin/java".
Are you logged in as root by any chance. If so, don't do that.
You should have a separate user account that you always log into. And I am also guessing that you downloaded the *.bin file, and not the *-rpm.bin file, for Sun's web site.
I have ' KDevelop' an IDE used for multiple languages installed in linux.
how can i run java in it.
I know nothing about KDevelop - I use Eclipse. Perhaps someone who uses KDevelop can help.