D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Nebie Question on Scripts

 

David Johnson wrote:
> On Tuesday 03 July 2007 17:10, peter wrote:
>   
>> Hi
>>
>> I had to use that heading as I am sure the solution is  obvious.
>>
>> I am writing a script to start a prog...
>>
>> Lets say
>>
>> #! /bin/csh -f
>> PATH=/usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/
>>
>>     
Try

setenv PATH /usr/lib/jvm/java-6-sun-1.6.0.00/jre/bin/

Cheers,

Pete

>
>
> If you do need to use csh, maybe 'man csh' will tell you how to set 
> environment variables.
>
> Regards,
> David.
>
>   


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html