Project including libpd containing binary builds for Java
Hopefully, you should just be able to include libpd.jar in your project and you're good to go.
First, you'll need to get the libpd submodule:
$ git submodule init
$ git submodule update
Then, you can try and run:
$ make clean javalib
Which should build a binary for your platform and add it to the libpd.jar.
$ make CC='gcc -m32' PDNATIVE_ARCH=x86 clean javalib
Using mingw-w64, based on instructions here http://tinyurl.com/mw64-use Also, install the mingw-w64 pthreads, as http://tinyurl.com/mw64-pthread
Your JAVA_HOME environment variable should be set up to a valid JDK.
$ make CC='i686-w64-mingw32-gcc -m32' PDNATIVE_ARCH=x86 clean javalib
$ make CC='x86_64-w64-mingw32-gcc -m64' PDNATIVE_ARCH=x86_64 clean javalib