As a beginner, it's good to use the basic notepad
or notepad++
to write the Java code and compile & execute it using the command prompt. It will help to understand the fundamentals such as how the compiler works and how code is built etc. For professional development, I'd prefer IntelliJ IDEA.