Problem with import java.nio.file
        Posted  
        
            by Richard Knop
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Richard Knop
        
        
        
        Published on 2010-05-19T20:34:12Z
        Indexed on 
            2010/05/19
            20:40 UTC
        
        
        Read the original article
        Hit count: 512
        
java
Why this line doesn't work?
import static java.nio.file.AccessMode.*;
Eclipse says:
The import java.nio.file cannot be resolved
Here is the whole program so far:
import static java.nio.file.AccessMode.*;
public class CheckFileAccessibility {
 public static void main(String[] args) {
 }
}
I am following the official Java tutorial here: http://java.sun.com/docs/books/tutorial/essential/io/check.html
© Stack Overflow or respective owner