Deary Yehuda
Deary Yehuda

Reputation: 41

Netbeans 8.2 won't run the project

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

Upvotes: 3

Views: 28037

Answers (2)

Sean Anderson
Sean Anderson

Reputation: 660

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.

Upvotes: 7

Saurabh Sevak
Saurabh Sevak

Reputation: 1

in left side panel there was project panel. inside this panel your project exist.select project and left click on it.it open menu. in menu there is run option will there.

but before running project just make sure that your class has been set as main class.

f6 is short cut to run project in netbeans.

Upvotes: 0

Related Questions