Re: Set an environment variable for an app.
Mike Miller <[email protected]> Tue, 22 May 2012 05:36:50 -0500 (CDT)
| Newsgroups | gmane.network.vnc.user,gmane.network.vnc.realvnc.general |
|---|---|
| Message-ID | <[email protected]> |
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.) Mike _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list