First of all thank you uljanow for this excellent prog.
I'm running hardy and had the problem with java 6.
I installed icedtea then "sudo update-alternatives --config java" and selected icedtea...