hello = function (){ Packages.java.lang.System.out.println("Hello world."); }