Eclipse and Linux [message #187615] |
Wed, 10 January 2007 21:45 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03779 seconds