Set an environment variable for an app.
mbmiller+l at gmail.com
Tue May 22 11:36:50 BST 2012
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
(I removed a period from the end of that line assuming it wasn't meant to
be part of the line.)