Solution to the Error To resolve the error, we need to add PATH (used by operating system to find the executable files) variable to the System’s environment variable . The PATH is the address of the folder where javac.exe file located.
Read moreHow do I get Java in Notepad ++?
Here are the steps that will help you compile and run Java program in Notepad++.
Read moreCan Notepad ++ run programs?
Notepad++ is just a text editor. It can edit your code or any other text. But it can’t run your code on its own .
Read moreHow do I run a Java file?
How to run a java program
Read moreWhere do I save Java program in notepad?
To do this in Notepad, first choose the File > Save As … menu item . Then, in the Save As dialog box: Using the Save in combo box, specify the folder (directory) where you’ll save your file.
Read moreHow do I open a Java file in notepad?
How to Run Java Program in CMD Using Notepad
Read more