Chapter 4: Raritan Serial Console (RSC) Help
48
Setting UNIX OS Variables
To check the latest JRE
™
version on Sun Solaris
™
:
1. Launch a terminal window on the Sun Solaris desktop.
2. Type
java-version
in the command line and press Enter. The
currently-installed version of Java
™
Runtime Environment (JRE)
appears.
If your path variable is not set to where the Java binaries have
been installed, you may not be able to see the JRE version.
Assuming JRE is installed in /usr/local/java: you must set your
PATH variable.
To set a path for the bash shell:
export
PATH=$PATH:/usr/local/java/j2re1.6/bin
To set path for tcsh or csh:
set
PATH = ($PATH /usr/local/java/j2re1.6/bin)
These commands can either be typed at the terminal each time
you log in, or add them to your .bashrc for bash shell or .cshrc
for csh and tcsh so that each time you log in, the path is already
set. See your shell documentation if you encounter problems.
3. If the JRE is installed, proceed with the RSC installation; download
JRE if it is not, and then install RSC.