java.io does `nt have File class
Hi,
i am using netbeans 7.0, java 1.6.26. I am trying to use File class for java Sun Spot programming, but I cannot see File class when I click dot (.) after import java.io , I want to read a file through it.
Help in this regard is appreciated in advance.
Kind Regards
ashhush
Re: java.io does `nt have File class
Hi,
Do not wait for auto complete from netbeans, sometimes it hangs. Just type it in full, i.e. Code:
import java.io.File;
that should work if your jdk is correct.
regards
Dark-Redd