problem with Scanner class

i am working on j2sdk 1.4 on windows XP SP2 Professional.I have a problem in importing Scanner class from java.utilwhen I wrote import java.util.Scanner;It showed me an error saying cannot find symbol... what do i do now?Plz anyone help me out
[285 byte] By [Vive_JavaNETa] at [2007-11-27 5:12:06]
# 1

> i am working on j2sdk 1.4 on windows XP SP2

> Professional.

>

> I have a problem in importing Scanner class from

> java.util

>

> when I wrote

> import java.util.Scanner;

>

> It showed me an error saying cannot find symbol...

The [url=http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html]Scanner[/url] class exists since 1.5 only.

> what do i do now?

> Plz anyone help me out

Upgrade your Java version (or if you can't, use a Reader and implement the parsing/logic yourself, or find anyother way to achieve what you need with 1.4 API...)

TimTheEnchantora at 2007-7-12 10:32:46 > top of Java-index,Java Essentials,New To Java...
# 2
thanks a lot i did not know whether it existed in j2sdk 1.4.
Vive_JavaNETa at 2007-7-12 10:32:46 > top of Java-index,Java Essentials,New To Java...