Java hello world

hello.java:

class hello {  
    public static void main(String[] args) {
        System.out.println("hello, world");
    }
}

javac hello.java

java hello

jar cvf hello.jar hello.class