Results 1 to 3 of 3
  1. #1
    farmer is offline Member
    Join Date
    Aug 2011
    Posts
    4
    Rep Power
    0

    Default NetBeans IDE not working properly

    Hello all,

    I am having trouble with the NetBeans IDE. I am working on one program and when I try to run the code, the IDE compiles the code from another .java file. I ran this other program earlier and it is now closed, but it still runs the code from it and not from the .java file I want. I have tried F6, Shift+F6 and F11, all different functions I know, but I have had no luck. I have tried shutting down the IDE and restarting. I have tried shutting down the laptop and restarting. I still get the same result. I basically can't run any .java file I want to run only one I don"t want to run (this file is not even open, just sitting in the projects list). Any ideas?

    Dan

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,049
    Rep Power
    20

    Default Re: NetBeans IDE not working properly

    Right click the class you want to run and select Run.
    Just doing the run button on the tool bar will run the last executed program.

  3. #3
    farmer is offline Member
    Join Date
    Aug 2011
    Posts
    4
    Rep Power
    0

    Default Re: NetBeans IDE not working properly

    Your suggestion is a solution. Thanks for your help Tolls.

Similar Threads

  1. for loop not working properly
    By lbgladson in forum New To Java
    Replies: 8
    Last Post: 10-15-2011, 12:33 AM
  2. TCP/IP client not working properly
    By Chrillz in forum Networking
    Replies: 2
    Last Post: 07-20-2011, 07:39 PM
  3. Why this block is not working properly?
    By juhiswt in forum New To Java
    Replies: 2
    Last Post: 03-13-2011, 11:08 AM
  4. date is not working properly
    By newnewgen in forum New To Java
    Replies: 1
    Last Post: 10-12-2010, 09:04 AM
  5. Log4j not working properly....
    By prakash_dev in forum Advanced Java
    Replies: 0
    Last Post: 03-17-2008, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •