add automated java compilation