Skip to main content

java.nio.file.StandardWatchEventKind missing?

Please note these forums are being decommissioned and use the new and improved forums at
1 reply [Last post]
Joined: 2011-05-08

I'm trying out the new WatchService in the latest JDK 7 build using Netbeans 7. Testing the code at, 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.
Joined: 2005-08-08

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