java, path not saved?
I've just installed java SDK 1.42 and set the path:
export PATH=$PATH:/opt/j2sdk_nb/j2sdk1.4.2/bin/ and it worked when I complied a program. But after I restarted my computer and checked the path: echo $PATH, the path was not there and "javac" wasn't recoginzed!? Can anyone tell me how to solve this?