Accessing java.nio library
in
Programming Questions
•
10 months ago
Hello!
I would like to use the java.nio.File class. If I include it in my Processing program (using the Processing programming environment), it says the class is not found. However, when I look in the Processing source on my computer (using v2.0b6) I see that Processing includes "nio.dll" as part of the embedded java. I know if I want to include a java library, I need to tell Processing where the jar file is, but there is apparently no jar file for nio since it is a core part of Java itself. How can I let Processing know where to look to find this class?
Thank you in advance for the help!
I would like to use the java.nio.File class. If I include it in my Processing program (using the Processing programming environment), it says the class is not found. However, when I look in the Processing source on my computer (using v2.0b6) I see that Processing includes "nio.dll" as part of the embedded java. I know if I want to include a java library, I need to tell Processing where the jar file is, but there is apparently no jar file for nio since it is a core part of Java itself. How can I let Processing know where to look to find this class?
Thank you in advance for the help!
1