About this list Date view Thread view Subject view Author view Attachment view

From: Andreas Kostyrka (andreas_at_mtg.co.at)
Date: Sat 21 Dec 2002 - 20:56:21 GMT


Am Sam, 2002-12-21 um 19.59 schrieb Ken Stanley:
>
> We have created several simple shell scripts to set java environment
> variables and they don't seem to work.
> We are running VPS .20-1 on Redhat 7.3 with Redhat 7.3 virtuals.
>
> Here is an example:
>
> #! /bin/sh
> export JAVA_HOME=/usr/java/jdk1.3.1/
> export PATH=$JAVA_HOME/bin:$PATH;
> export CLASSPATH=$CLASSPATH:.
>
> The script runs, it's set as executable, but the environment variables
> do not work.
How do you execute the script?
./script is wrong
. script is right.

Andreas


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 21 Dec 2002 - 21:10:49 GMT by hypermail 2.1.3