Programming/Java

From HPC
Revision as of 09:25, 31 January 2017 by Pysdlb (talk | contribs) (Created page with "== Programming Details == Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, incl...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation , search

Programming Details

Java is a high-level programming language originally developed by Sun Microsystems and released in 1995.

Java runs on a variety of platforms, including Viper (LInux), Windows, and Mac OS.


Programming example



Compilation

The program would be compiled in the following way, which a choice Java JDK available.

  • Javac - is the JAVA byte compiler
  • Java - is the JAVA runtime

module load java/jdk1.7.0_80 (''or module load java/jdk1.8.0_102'')

javac MyFirstJavaProgram.java
java MyFirstJavaProgram 
Hello World