Getting the Java parts set up.