Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cannot find symbol

 
sahana mithra
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11070
13
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic