简体   繁体   中英

run project in netbeans does nothing at all

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:

  • restarting netbeans
  • closing project and reopening
  • remove build.xml and restart netbeans
  • clean and build
  • locate project.properties, make a non change, save and restart netbeans.

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.

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.

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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM