I had problems with Kaffe just a few months ago on Erlang 27. Are you using that? Have you tried with 26?