Automatically determine java home from alternatives on debian systems. Fixes #100