There are lots of local IDEs you can choose for your school and computer science classes.
Here are a few bits about local Java IDEs.
The 3 Java IDEs that I prefer in no particular order are :
Intellij – FREE
The community version is what you want :
https://www.jetbrains.com/idea/download/?section=windows
https://www.jetbrains.com/help/idea/getting-started.html
Eclipse – FREE
https://www.eclipse.org/downloads/packages/installer
VS Code – FREE
https://code.visualstudio.com/Download
https://code.visualstudio.com/docs/java/java-tutorial
I would say that my high school students seem to prefer Intellij to Eclipse.
I have used both for many years for in-class and contest use.
College students / industry professionals that I know seem to prefer VS Code as VS Code makes it very easy to switch between different languages.
I will not recommend an online IDE as I feel strongly that students should use a local IDE.
If you need amazing Java Curriculum Materials, check out the A+ Computer Science materials. The BEST JAVA MATERIALS on the PLANET!