Reputation: 4971
I have 1.6.0_22 version of Java installed on Mac OS X. I was trying to write a file operation program and wanted to use java.nio.file
package's 'Path' class but I can't find that package? How can I add it to my project?
Upvotes: 1
Views: 600
Reputation: 299048
Path
is only available in Java 1.7:
From the JavaDocs:
Since: 1.7
Upvotes: 1