Java-Teaching: Difference between revisions

From Research Computing Center Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


=== Version ===
=== Version ===
1.8.0_121
1.8.0_112
   
   
=== Author / Distributor ===
=== Author / Distributor ===
Line 21: Line 21:
=== Running Program ===
=== Running Program ===


The last version of this application is at /usr/local/apps/eb/Java/1.8.0_121
The last version of this application is at /usr/local/apps/eb/Java/1.8.0_112


To use this version, please loads the module with
To use this version, please loads the module with
<pre class="gscript">
<pre class="gscript">
ml Java/1.8.0_121
ml Java/1.8.0_112
</pre>  
</pre>  


Line 42: Line 42:
   
   
cd $SLURM_SUBMIT_DIR<br>
cd $SLURM_SUBMIT_DIR<br>
ml Java/1.8.0_121<br>     
ml Java/1.8.0_112<br>     
  <u>[options]</u><br>   
  <u>[options]</u><br>   
</div>
</div>
Line 58: Line 58:
   
   
<pre  class="gcommand">
<pre  class="gcommand">
ml Java/1.8.0_121
ml Java/1.8.0_112
    
    



Revision as of 11:33, 10 August 2018

Category

Programming

Program On

Teaching

Version

1.8.0_112

Author / Distributor

Java

Description

"Java Platform, Standard Edition (Java SE) lets you develop and deploy Java applications on desktops and servers." More details are at Java

Running Program

The last version of this application is at /usr/local/apps/eb/Java/1.8.0_112

To use this version, please loads the module with

ml Java/1.8.0_112 

Here is an example of a shell script, sub.sh, to run on at the batch queue:

#!/bin/bash
#SBATCH --job-name=j_Java
#SBATCH --partition=batch
#SBATCH --mail-type=ALL
#SBATCH --mail-user=username@uga.edu
#SBATCH --ntasks=1
#SBATCH --mem=10gb
#SBATCH --time=08:00:00
#SBATCH --output=Java.%j.out

cd $SLURM_SUBMIT_DIR
ml Java/1.8.0_112

[options]

In the real submission script, at least all the above underlined values need to be reviewed or to be replaced by the proper values.

Please refer to Running_Jobs_on_the_teaching_cluster, Run X window Jobs and Run interactive Jobs for more details of running jobs at Teaching cluster.


Here is an example of job submission command:

sbatch ./sub.sh 

Documentation

ml Java/1.8.0_112 
  

Back to Top

Installation

Source code is obtained from Java

System

64-bit Linux