Are you a programmer or an IT student then you might come across the problem of setting environment path.Its so easy to set the path in ubuntu.
1.Go to /home/user/
2.Click view tab and check out show hidden files.
3. There you can find a file named as .bashrc
4.Open the file using any text editor.
5.At the last line append your statement which you are normally using in terminal to set the path.
6.It should be like PATH=$PATH:/usr/java/j2sdk1.4.2/bin
7.Thats all.Thanks for reading.