The FDK-Java QR Code example has been updated for the latest Fn and Java versions. See: https://github.com/fnproject/docs/blob/master/fdks/fdk-java/examples/qr-code/README.md
However, the .png file output from the service is not well-formed. You get a 47 byte file that is not recognized as a .png. Someone needs to troubleshoot the code and see what's up.