1

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?

0

1 Answer 1

1

Path is only available in Java 1.7:

From the JavaDocs:

Since: 1.7

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.