jamvm: port to new update-alternatives

Hi,

the jamvm recipe did not create a link to /bin/java because the API of the update-alternatives class changed in yocto Daisy.

I'm not 100% sure if I used it correctly but it works for me.

This issue is also present in other recipes. But I got no time to fix it.

Greetings
Merten