Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » java.util cannot be resolved.(setup problems)
java.util cannot be resolved. [message #1284969] Sat, 05 April 2014 03:01 Go to next message
Mark Leste is currently offline Mark LesteFriend
Messages: 3
Registered: October 2011
Junior Member
I have had to reinstall and I am getting failure on all the java.util and java.lang stuff.
e.g. "the import java.util cannot be resolved"
I cant work out what jar I am supposed to be adding to the build path to fix these.
I've doubtless screwed things up by copying over my home directory so may be it's better to zap everything and have another go.
Re: java.util cannot be resolved. [message #1285009 is a reply to message #1284969] Sat, 05 April 2014 04:00 Go to previous messageGo to next message
Mark Leste is currently offline Mark LesteFriend
Messages: 3
Registered: October 2011
Junior Member
I needed to add the system libraries
See "eclipse-the-import-java-io-cannot-be-resolved" on stack over flow (I cant post links yet)
Re: java.util cannot be resolved. [message #1285645 is a reply to message #1284969] Sat, 05 April 2014 21:07 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3799
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 04/04/2014 09:01 PM, Mark Leste wrote:
> I have had to reinstall and I am getting failure on all the java.util
> and java.lang stuff.
> e.g. "the import java.util cannot be resolved"
> I cant work out what jar I am supposed to be adding to the build path to
> fix these.
> I've doubtless screwed things up by copying over my home directory so
> may be it's better to zap everything and have another go.

If you can't import anything from packages beginning with java.util,
it's because you don't have a proper JDK or you don't have it wired into
Eclipse or you haven't put it into your classpath.

You can't post a direct link, but you could have concocted a much more
informative representation of the link into your stackoverflow.com
question. I couldn't find it.
Previous Topic:Character strings
Next Topic:Menu Bar Items not visible in Eclipse Kepler(On Ubuntu 13.10)
Goto Forum:
  


Current Time: Sat Nov 17 10:32:36 GMT 2018

Powered by FUDForum. Page generated in 0.03138 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top