Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Netbeans cannot access java.lang (http://www.chiefdelphi.com/forums/showthread.php?t=124862)

Infinite 18-01-2014 17:00

Netbeans cannot access java.lang
 
Everything was working well until I updated my Netbeans to 2014. Since the update, I've been getting the following error message:

cannot access java.lang
Fatal Error: Unable to find package java.lang in classpath or bootclasspath

I've tried reinstalling Netbeans.

Thanks

Team3266Spencer 18-01-2014 17:22

Re: Netbeans cannot access java.lang
 
Is Java properly installed on your computer? If not there may be some kind of path issue with where Netbeans is looking for Java.

Infinite 18-01-2014 19:45

Re: Netbeans cannot access java.lang
 
Quote:

Originally Posted by Team3266Spencer (Post 1328951)
Is Java properly installed on your computer?

I believe so. I use BlueJ and it works fine. It does indeed seem like a path issue as you described, though.

BradAMiller 19-01-2014 08:33

Re: Netbeans cannot access java.lang
 
I'm not sure if you've done this, but you might try installing the Netbeans and Java co-bundle. It will install both the java runtime system and netbeans at the same time and should make sure the paths are set correctly.

http://wpilib.screenstepslive.com/s/...elopment-tools

Then install the WPILib FRC plugins.

Infinite 19-01-2014 19:35

Re: Netbeans cannot access java.lang
 
excellent, I'll try this. thanks.

Bryan Herbst 19-01-2014 19:43

Re: Netbeans cannot access java.lang
 
Quote:

Originally Posted by Infinite (Post 1328945)
Everything was working well until I updated my Netbeans to 2014. Since the update, I've been getting the following error message:

cannot access java.lang
Fatal Error: Unable to find package java.lang in classpath or bootclasspath

I've tried reinstalling Netbeans.

Thanks

I encountered the same problem when I tried to use Netbeans to update the FRC plugins.

You must uninstall the plugins and delete the sunspotfrcsdk directory, then reinstall the plugins. Updating will not work.

This is mentioned (though not emphasized enough) in the Installing the Java development tools documentation.

Infinite 20-01-2014 01:45

Re: Netbeans cannot access java.lang
 
Wow, that fixed it. I wasted so many hours on this problem...thanks a ton.

EDIT: This was directed to Tanis


All times are GMT -5. The time now is 10:43.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi