netExtenderGui client couldn't find Java - fixed

Questions about applications and software
Forum rules
Before you post please read how to get help

Important information

netExtenderGui client couldn't find Java - fixed

Postby dhfx on Wed Apr 24, 2013 11:36 pm

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.
Level 1
Level 1
Posts: 26
Joined: Wed Jun 29, 2011 10:04 pm

Linux Mint is funded by ads and donations.

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 2 guests