The current Sun Java on our Debian Etch system is JDK 1.6.0_02. If you are a Csh user, you can modify your .cshrc.linux and .login.linux files to activate this version of Java. Put the following lines in your .cshrc.linux and .login.linux files:
----------------------------cut here--------------------------- setenv JAVA_HOME "/usr/local/jdk1.6.0_02" setenv PATH "$JAVA_HOME/bin:$PATH" ----------------------------cut here---------------------------Make sure the second line has a carriage return after it. The shell doesn't like it otherwise. Log out and back in again and use the command:
which javaYou should see something like this:
/usr/local/jdk1.6.0_02/bin/javaThis indicates you will be using the Java we specified above. If you see something like this:
/usr/bin/javayou are using the Debian default Java. Bash shell users should adjust their .bash_profile or other various files with similar commands.
Back to Ask The System Manager
The information accessible from this server is provided
in good
faith, but neither
the Wichita State University, nor the Computer Science Department takes
any legal responsibility
whatsoever for the accuracy or content of data displayed on this server.
Please
notify us if
any error is detected. Thank You !