Reputation: 511
So I'm trying to run a project of mine in netbeans after changing laptops and importing all files, however, when I try to run one of my projects, nothing happens at all. It happens when I press the green arrow, as well as when I right click the project -> run. I have selected the right file it should run. On my other laptop it runs just fine.
things I've tried:
Upvotes: 2
Views: 5680
Reputation: 1
check the working directory. go to project properties > run > brows working directory. then select the root directory of the project. it worked for me
Upvotes: -1
Reputation: 1
Happened to me via having set the Working Directory in Netbeans for my project under Project (r. click), Properties, Run, Working Directory; and then subsequently renaming the folder in the computer's filesystem without remembering to change the name in the Working Directory setting as well. Agreed that having no error message whatsoever from Netbeans is very unhelpful!
Upvotes: 0
Reputation: 1
For me Netbeans was working fine for months. One day i got a message that i use JDK for windows 32, and since then i couldn't run any program, also the ones which run without flaws before. But i could run them again, when i was using the netbeans64.exe from the installing folder.
Upvotes: 0
Reputation: 56
I have experienced the exact same thing, very frustrating when nothing at all happens. If Netbeans at least could write something about it in the log file it would be great...
In my case I solved it by updating the work.dir
in nbproject/private/private.propteries
since it was not correct any more after a move of the project.
Upvotes: 4