Search code examples
javamacosjava-native-interfacefile-copying

Copy files in Java Using JNI


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


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.