Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Unable to find packages java.lang in classpath or bootclasspath. NetBeans 7.2.1. Please help, can't google any helpfull info..
Posted
Comments
Richard MacCutchan 30-Jan-13 17:35pm    
The compiler is just telling you that you have not set the classpath to the location of your Java libraries. I don't use Netbeans so I am not sure how you do that, but I would expect it to be done automatically when you install netbeans. Use the menu to find the netbeans options and see what you can find.

1 solution

There are two probable reason :
1. Already told by Richard
2. or jdk is not installed properly. So remove it and reinstall it properly.
 
Share this answer
 
Comments
[no name] 31-Jan-13 6:18am    
Reinstalled jdk - not helped.
[no name] 6-Feb-13 13:00pm    
In NB version 6.9 all works.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900