It is one of the best Java IDE for Mac that offers automatic code completion facility, code folding, syntax highlighting, and more. Xcode is an editor that can be used to write Java programs with ease.
MyEclipse by CodeMix is a simple Java IDE. Platforms : Windows, macOS, Linux and Ubuntu