Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse and Linux
Eclipse and Linux [message #187615] Wed, 10 January 2007 21:45 Go to next message
Eclipse UserFriend
Originally posted by: alastairscott9.hotmail.com

Hello

I am a complete newbie at Linux. I've been using Eclipse in Windows for
java programming and downloaded the version for Fedora Core 6. Everything
was fine until I needed to import the scanner class. I get an error
telling me that

"The import java.util.Sxanner cannot be resolved".

How do I fux this? As I said I am a total novice, so any instructions
would need to be very simple!

Thanks

Alastair
Re: Eclipse and Linux [message #187629 is a reply to message #187615] Thu, 11 January 2007 01:38 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Alastair Scott wrote:
> Hello
>
> I am a complete newbie at Linux. I've been using Eclipse in Windows for
> java programming and downloaded the version for Fedora Core 6.
> Everything was fine until I needed to import the scanner class. I get an
> error telling me that
> "The import java.util.Sxanner cannot be resolved".
>
> How do I fux this? As I said I am a total novice, so any instructions
> would need to be very simple!

The Scanner class is new as of Java 5, so most likely you are using a
1.4 JDK to build with (probably running Eclipse with 1.4, too).
Can you verify what JDK you are using on Fedora?

Hope this helps,
Eric
Previous Topic:Unable to open CVS Compare view
Next Topic:Sometimes I have no console to open...
Goto Forum:
  


Current Time: Thu Mar 28 12:36:33 GMT 2024

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

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

Back to the top