I'm using SonicWall netExtenderGui to access my work desktop. After updating and reinstalling, when I tried to start netExtenderGui I got "java not found" errors. I tracked it down to the fact that (1) netExtenderGui is a script that executes a Java .jar by
java -jar ...
and (2) java was somehow not on my execution path, as determined by entering "which java" and getting nothing.
My Sun (Oracle) Java is installed in /usr/lib/jvm which includes a symlink "default-java" that appears to be updated to point to the currently-installed jre directory. I did two things:
1) modified the default-java link to point to the full path of the jre directory, i.e.,
default-java -> /usr/lib/jvm/jre1.7.0_17 (yes, AFAIK netExtenderGui requires real Sun Java)
2) modified (before running ./install) the line in the netExtenderGui script that runs java to read
/usr/lib/jvm/default-java/bin/java -jar /usr/lib/NetExtender.jar
(you may need to start gedit from a root window to do this).
I'm sure there are other ways of fixing this problem, but this post may still save someone else some time.