Step 1: Verify the java compiler version in your account by giving the following command java -version If you get the output as below, you don't need to do anything more. If your compiler version is different, move onto step 2. "Java version “1.4.1_02” Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_02-b06) Java HotSpot(TM) Client VM (build 1.4.1_02-b06, mixed mode) Step 2: Backup your .cshrc file before making any changes to it by giving the following command: cp .cshrc .cshrc.bak Step 3: Open the .cshrc file in a text editor(for example, emacs) and scroll down to the commented section which looks like “#Put your changes/additions here#” and give the following command: setenv PATH /usr/usc/jdk/1.4.1/bin:${PATH} Step 4: Save the changes made to your .cshrc file and exit the text editor Step 5: Give the following command at your shell prompt source .cshrc Step 6: Check the version of your java compiler with the following command. The version should now match with the one given in Step 1. java -version