To compile java programs on strauss: Type java -version to see which version of Java you are using. If you don't like the one shown, then do: ls /usr/jdk* to list all the versions available. Then, edit your .localenv file (this assumes you are using tcsh or csh; directions will vary for bash, but the idea is similar) and insert the following (selecting the appropriate /usr/jdk___ version in place of /usr/jdk1.5): if -d /usr/jdk1.5 then setenv JAVA_HOME /usr/jdk1.5 setenv NEWPATH $JAVA_HOME/bin:$NEWPATH setenv MANPATH $JAVA_HOME/man:$MANPATH endif Make sure the file ends with a blank line. If you log out and log in again, then you should have the version of Java you want. If you have a really "messed up" .cshrc and .login file from years of messing around with it, this might not work. Equally, this wont work if you have NO .cshrc and/or .login file. In that case, you can execute the following shell script to start over with a fresh copy with all the latest correct paths: ~consult/proto/setup This will back up your current versions of .login, .cshrc and .localenv with the current date appended to the end, so you can go back in and retrieve all your favorite aliases and customizations. Almost everything else you need to know is at: http://www.udel.edu/help Click on J for Java (at the top of the screen) then click on Java