Call Java from Elixir

I followed an ruby example using ports here, but couldn’t quite get the java to do the same .
Kindly do share a sample if you can.

Thank you