0
I’m looking for the solution to the following problem, I do an "Olámundo" in Netbeans and it’s compiling, doing or other in Notepad++, I can create the class with javac Hi.java, but when I put java Hi, the following error appears:
"Error: unable to find or load main class Hi"
NOTE: All the forums I search talks about the configuration of JAVA_HOME, PATH and CLASSPATH, all of them have already been set, when I put to show in Prompt the version appears normally...
How can I fix this, how can I run on Prompt?
Here are prints below the folder, notepad, prompt and test running normally in Netbeans:
Edit the question and post your class
– user28595
I posted the basic test code... Oi.java and Oi.class are in the folder
– nattrajano
Who negatived does not understand anything of java or did not understand the question, because the problem here has nothing to do with code and the image is valid to understand the problem.
– user28595