Script:
class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World!");
}
}
Saved as HelloWorld.java
Executing it:
module load java
javac HelloWorld.java
java HelloWorld
Script:
class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World!");
}
}
Saved as HelloWorld.java
Executing it:
module load java
javac HelloWorld.java
java HelloWorld