java code machine