Java 2 work