Click here to Skip to main content
11,712,454 members (73,902 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java
Unable to find packages java.lang in classpath or bootclasspath. NetBeans 7.2.1. Please help, can't google any helpfull info..
Posted 30-Jan-13 9:56am
halabella1.3K
Comments
Richard MacCutchan at 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

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

There are two probable reason :
1. Already told by Richard
2. or jdk is not installed properly. So remove it and reinstall it properly.
  Permalink  
Comments
halabella at 31-Jan-13 6:18am
   
Reinstalled jdk - not helped.
halabella at 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)

  Print Answers RSS
0 CHill60 335
1 Sergey Alexandrovich Kryukov 284
2 OriginalGriff 230
3 Andy Lanng 160
4 Maciej Los 130
0 CHill60 335
1 Sergey Alexandrovich Kryukov 280
2 OriginalGriff 230
3 Andy Lanng 160
4 Maciej Los 130


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 31 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100