by the way adding export var=value in /home/user/.bashrc and restarting terminal worked fine.
On Fri, Jun 11, 2010 at 8:44 AM, Sharad Birmiwal <[email protected]>wrote: > > please set JAVA_SAGA_LOCATION to the location of your SAGA installation > > > > > > u...@user-desktop:~$ '/home/user/saga-impl-1.0.1/bin/run-saga-app' > > > > Cool. > > 1. Don't use apostrophe if you are using them > 2. what is the output of the following? > $ echo $JAVA_SAGA_LOCATION > > 3. output of > $ head -n 1 /home/user/saga-impl-1.0.1/bin/run-saga-app > what is this command for the o/p is #!/bin/sh 4. output of > $ cat /etc/environment > u...@user-desktop:~$ cat/etc/environment bash: cat/etc/environment: No such file or directory u...@user-desktop:~$ $cat/etc/environment u...@user-desktop:~$ $ cat/etc/environment $: command not found what is this cat/etc/environment?? 5. If you want to put it in /etc/profile, put it anywhere (for example > add a last line in the end) > > -- > l...@iitd - http://tinyurl.com/ycueutm > -- l...@iitd - http://tinyurl.com/ycueutm
