views:

73

answers:

2

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

+2  A: 

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.

monksy
+1  A: 

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.

Brian Agnew