Skip to content

Java Runtime Environment (JRE)

Overview

The Java runtime environment (JRE) is software used to run java code. It translates Java bytecode into machine code which can then be executed by the computer's CPU.

Availability

Cluster Module/Version
BOSE Not Available
BGSC jre/1.8.0_291

Note: You can simply use module load jre to activate the most recently installed version of this software.

Using BOSE?

BOSE uses the OpenJDK implementation of Java instead of JRE, which may be a suitable alternative.

Sample Slurm Script

submit.sh
#!/bin/bash
# -- SLURM SETTINGS -- #
# [..] other settings here [..]

# The following settings are for the overall request to Slurm
#SBATCH --ntasks-per-node=32     # How many CPU cores do you want to request
#SBATCH --nodes=1                # How many nodes do you want to request

# -- SCRIPT COMMANDS -- #

# Load the needed modules
module load jre/1.8.0_291    # Load jre
java -jar my-file.jar        # Run a JAR file

Real Example

Has your research group used the Java Runtime Environment (JRE) in a project? Contact the HPC Team and we'd be glad to feature your work.

Resources