Here is a fix that worked for me:

edit /usr/share/maltego/etc/maltego.conf

uncomment the
replace this line
#jdkhome="/path/to/jdk"

with