How to compile and run Java programs at CCS

On Solaris, at CCS:

  /bin/javac
You might need to put this on your path in your shell initialization file or .software file.
which javac
tells you where it lives.

To run:

java Main
provided Main contains the main() method. To compile several Java classes, use:
javac *.java
To run the program, use version of:
java Main < program.input