Fix ordering issue in jar recipe
Use su instead of sudo for service commands