ITS/High Performance Computing Cluster/help on java

[edit] Using the Sun Java Development Kit and Sun Java Runtime Environment on the ITS HPC cluster

To use any of the installed Java compilers and runtimes, first load the java module:

   module load jdk-1.6

[edit] Compiling a Java program to bytecode

To compile the Java source file "test.java" with the Sun Java compiler, use the command

   javac Hello.java

The javac compiler will make a file called Hello.class. To run the newly-compiled bytecode,

   java Hello

The program should run.

Case Referrers

Blog Entries
Other Sites
This page has been accessed 1,483 times.
This page was last modified 13:24, October 11, 2007 by Allison Avrich.
About | Disclaimers