I'm trying to solve the following problem, I make a "Hello" in Netbeans and it's compiling, I do or in Notepad ++, I can create the class with javac Oi.java, but when I put java Hi, the following error appears:
"Error: Can not find or load the main Hi class"
How can I fix this, how can I run Prompt?
Here are the links below the folder, notepad, prompt, and test running normally on Netbeans: