Netbeans 8.2 won't run the project

Viewed 21661

i'm new at java language. I try to make my first program that refer from Youtube. but when i click "run" button, it won't work. I don't know why but all the build or the code is successful. Maybe i have some little some mistake there..(?) Can anyone help? enter image description here

2 Answers

This happened to me recently. Right-click the project, Properties, Build->Compiling, Un-check "Compile on Save." This happened after I opened another project when I already had one loaded. Not sure if that was the root cause. Unfortunately, when I toggled Compile on Save back on the project would not run or debug.

Related