He can talk to his probation officer about acceptable locations to perform his community service.

He can also ask his probation officer if skipping classes would violate his probation.