Fixing Code That Uses PhilosopherS Dining Problem In Java

I need help fixing some code I have for this homework assignment. Attached will be an assignment description and the code that needs to be fixed.