how to add a java package to my java library?
I have 1.6.0_22 version of Java installed on Mac OS 开发者_JAVA技巧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?
Path
is only available in Java 1.7:
From the JavaDocs:
Since: 1.7
精彩评论