Welcome to the Ranch
I think NotePad++ is very good. If you are still at the stage where you are getting
that error message, maybe you shouldn't be using a cert exam study guide. Consider a more basic book, e.g.
Head First Java by Bates and Sierra (O'Reilly, 2005). Because it is an old book, be sure to get a second‑hand copy.
That error message is almost always caused by not setting your PATH environment variable correctly. It only occurs on Windows®. Can you remember the folder where you installed Java®? It will probably be something like
C:\Program Files\Java\jdk1.8.0.122, in which case you need to add
"C:\Program Files\Java\jdk1.8.0.122\bin"; to the beginning of the current PATH; if you use Win10, it goes on a line by itself and probably doesn't need the ; ut it probably does need the quotes.
Have a look at our
FAQ,