That means you're using a version of Java older than
Java 5 (maybe Java 1.4). In that case you have to
iterate explicitly through the array returned by
"path.split".

Ulf

--- Mits <[EMAIL PROTECTED]> wrote:

> I am getting following error while compiling the
> code, I hope you can figure it out more quickly
> 
> D:\Mitesh>javac POIFSExtract.java
> POIFSExtract.java:59: ';' expected
>             for (String token : path.split("\\" +
> File.separator)) {
>                               ^
> POIFSExtract.java:65: illegal start of expression
>         }
>         ^
> POIFSExtract.java:64: ';' expected
>             return dir;
>                        ^


      

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to