Shell variables for JVM: installing on Ubuntu Lucid Lynx 10.04

Hi Thanks to some posts on this forum from user Glen
I was able to get DSVisualizer installed on my Ubuntu linux box . I used the command

./DSV25Setup.bin -console -is:log log.txt

I do have java in my path and have also set the environment variable JAVA_HOME to point to /usr/lib/jvm/java-6-sun/bin/java

Since the /usr/lib/jvm/java-6-sun directory has the entire jdk installed on this ubuntu box.

However the log.txt still indicates that did not find the JVM and setup the program to use the supplied jre/java 1.5

Just wondering how to force the install to use the system jre 1.6

Thanks
Hari