Fix launch script to detect java if it's not on roots path