Add some Java-related things to PATH.