![]() Under the src folder, I copy pasted the WatchDir.java file.Īnd I still see tons of squiggly red lines. So, I boot up Eclipse (actually I use STS) and create a new Java project and choose JaveSE-1.7 in the "use an execution environment JRE:". java file to test it out first and make sure that it is running. From the tutorial in the first link, the author gave a. So, now I feel that I can start trying out WatchService API. Then I open "Java Preference" and see that OpenJDK7 is available. ![]() ![]() ![]() Then, I read around some more and found that some nice group of people created JDK 7 as a binary so someone like me can install it easily. has the JDK which I downloaded and extracted. I would like to use the WatchService API as mentioned in this link:Īfter reading around, I found out that WatchService is part of the NIO class which is scheduled for JDK 7.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |