Hi there, computer science student here.
For Windows, they can use Eclipse. It's probably the most powerful IDE for Java out there, and it's totally accessible. Regardless of disability, coders usually do prefer that one because it points out when there's an error of any kind, mainly syntactic ones. And Jaws can read it just fine, not sure about other screen readers.
Aside from that, teacher can/should e-mail any piece of code they wrote during class. That will help student to have a better understanding of what teacher was talking about when working on that code.
What else.. If not already done, the student should
$1 Maybe that could make the module accessible as well, if it's written in Java.
That's all that comes to mind, I'll add another comment if I remember something else.
Have fun