Computer Science Department, Bucknell University
Information on Programming Language Java
Information on Programming Language Java
Key Java Web Sites
Tutorials on Java
How to Get Started on Sparcs
- Add to your .cshrc file
- Add the environment CLASSPATH
pre>
### CLASSPATH - environment variable for JAVA
setenv CLASSPATH .: <full path name of your directory where to look for java classes>
- Add to path variable
/usr/local/java/bin
- To compile a java application
% javac file.java
- To run a java application
% java classname
Page maintained by Dan Hyde, hyde at bucknell.edu Last update
March 11, 1999
Back to Dan's Home
page.