Skip to main content

java.nio.file.StandardWatchEventKind missing?

1 reply [Last post]
Spaffo
Offline
Joined: 2011-05-08
Points: 0

I'm trying out the new WatchService in the latest JDK 7 build using Netbeans 7. Testing the code at e-blog-java.blogspot.com/2011/03/how-to-watch-file-system-for-changes-in.html, i can import every class apart from java.nio.file.StandardWatchEventKind, which gives the "cannot find symbol" error. Anyone else had the same problem?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
alanb
Offline
Joined: 2005-08-08
Points: 0

It's java.nio.file.StandardWatchEventKinds (plural).