You can pass a switch to the install script. See the readme for details. You
can point the shell script to your specific JDK. This may help.
I also found that the install script needs to be able to check your network.
I had to add a line to my hosts file in the form of:
127.0.0.1 mymachine mymachine.domain.com
Once that was done it seemed to work ok.