This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes IDEs, Version Control and other tools and the fly likes cannot find symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "cannot find symbol" Watch "cannot find symbol" New topic
Author

cannot find symbol

sahana mithra
Ranch Hand

Joined: Oct 26, 2010
Posts: 72
Hi all
I keep getting cannot find symbol for the imports, layouts, events in NetBeants IDE.



can anyone help me ?
Thanks
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10268
    
    8

Looks like Netbeans cannot find the java classes on the classpath. Have you configured your IDE/project properly?

This question is not really a Swing problem. Moving to the IDE forums


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

What OS are you using? NetBeans tends to want to use the JDK you had installed when you first installed NetBeans; if you later delete that version of the JDK because you upgraded to a new one, NetBeans tends ot have issues. Check the etc/netbeans.conf file (inside the NetBeans installation directory), and verify that the netbeans_jdkhome property value is pointing to your JDK.


JBoss In Action
 
jQuery in Action, 2nd edition
 
subject: cannot find symbol