On Mon, 21 May 2012, Karen Thompson wrote:

I need to set an environemt variable for a program running via vncviewer. It requires a env. variable JAVA_HOME=/usr/java/jre1.6.0_31. I have tried looking up on the web for hours and have had no luck. I am sure this is something very easy, if I just knew how.

I would think that you could just add it to the ~/.vnc/xstartup file just after the first line (the first line is typically "#!/bin/sh" without the quotes):

export JAVA_HOME=/usr/java/jre1.6.0_31

(I removed a period from the end of that line assuming it wasn't meant to be part of the line.)


VNC-List mailing list
To remove yourself from the list visit:

Reply via email to