File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "cannot find symbol" Watch "cannot find symbol" New topic

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 ?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10826

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

Joined: May 14, 2008
Posts: 5852

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
I agree. Here's the link:
subject: cannot find symbol
It's not a secret anymore!