Java and Scripts