Question

How can I copy files in Java using JNI on OS X?

Was it helpful?

Solution

You shouldn't use JNI to copy files. If you are looking for performance with copying a lot of files you should take a look at the new Java NIO File Channels.

OTHER TIPS

You don't need JNI to copy files. The standard J2SE libraries will handle this. For a more powerful library, see Apache Commons IO FileUtils.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top