[Java] Fixed Scheduler not being updated