Date: Tue, 14 Jan 1997 22:49:31 GMT Server: NCSA/1.4.1 Content-type: text/html Last-modified: Fri, 09 Feb 1996 23:42:58 GMT Content-length: 2058
Java is installed on squeegee running Solaris 2.4 (or SunOS 5.4).
The UNIX environment on Solaris machines is a little bit different from that on
SunOS machines. Bin's .cshrc figures out whether the machine is
running SunOS or Solaris and runs the appropriate .cshrc (.cshrc.4
on SunOS machines and .cshrc.5 on Solaris machines) at login.
So, make the following changes to adapt to the Solaris environment
and to enable yourself to use javac and appletviewer:
Sun has a nice
tutorial
on writing and running simple Java applications and applets.
But since that site is normally quite busy, we made a
local copy of it.
To use g++ on squeegee:
How to use Java:
0. cd ~
Note: For people who have access to machines in the
lang domain (7th floor of 715/719 Broadway), Java is also installed on
the new Sparc 5's that are running Solaris (bird, satchmo, monk, ...).
1. cp .cshrc .cshrc.4
2. mv .cshrc .cshrc.5
3. cp /slinky.a/csphd/binli/.cshrc .
4. in .cshrc.5, add /opt/java/bin in the PATH and add this line:
setenv CLASSPATH .:/opt/java/classes
How to use C++:
add /opt/gnu/bin in the PATH in .cshrc.5.
To use g++ on other machines:
make sure /usr/local/bin is in your PATH in .cshrc.4.