cc_staff
176
edits
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
Java is a general-purpose, high-level, object-oriented programming language developed in 1995 by Sun Microsystems (purchased by Oracle in 2010). One of the principal design goals for Java was a high degree of portability across platforms, summarized by the slogan ''write once, run anywhere'', and which is realized by having Java source code compiled to ' | Java is a general-purpose, high-level, object-oriented programming language developed in 1995 by Sun Microsystems (purchased by Oracle in 2010). One of the principal design goals for Java was a high degree of portability across platforms, summarized by the slogan ''write once, run anywhere'', and which is realized by having Java source code compiled to 'bytecode' which then runs inside a Java virtual machine (JVM), ensuring a very uniform environment across numerous architectures and platforms. This has made Java a popular language choice in some environments and it is also widely used as a language for teaching programming. While performance was not one of the original design goals for Java, there are ways to help Java code run quickly and it has enjoyed a certain popularity in some scientific domains such as the life sciences, e.g. software like the Broad Institute's [https://software.broadinstitute.org/gatk/ GATK]. This page is not designed to teach the Java programming language but merely to provide some tips and hints for the use of Java in a high-performance computing environment such as Alliance clusters. | ||
<!--T:2--> | <!--T:2--> | ||
Alliance's systems have several different Java virtual machines installed which are made available to users via the [[Utiliser_des_modules/en | module]] command like other software packages. You should normally only have one Java module loaded at a time. The principal commands associated with such Java modules are <tt>java</tt> to launch the Java virtual machine and <tt>javac</tt> to call the Java compiler for converting a Java source file into byte code. | |||
<!--T:3--> | <!--T:3--> |