Step 2 : ARM 4.0 Java Hello World example

Description

First of all we need to import all interface declarations from the standard Open Group arm40 package:

Code

01: import org.opengroup.arm40.transaction.*;
02: 
03: public class HelloWorld  {
04: 
05:     public static void main(String argv[]) throws Exception {
06: 
07:         System.out.println("Hello world!");
08:         System.exit(0);
09:     }
10: }