When building the JNI headers, compile the java source first.
Wire up a Sound.load() that uses the java.nio.ByteBuffer object to share between native and Java.