Finally, I have decided to go with a Java implementation of the FEC.
It is based on onion networks FEC library.
I developed a wrapper for that library that hopefully makes it easier to use for what I need. It has Junit tests and a simpler API for creating the chunks from a File or from a byte array.
Take a look here if you are interested, it is a public repository in bitbucket.