RE: Running an application from a different directory

2004-04-20 Thread Kiren Pillay [ MTN - Innovation Centre ]
Hi Try $ java -classpath $HOME/myprogram $HOME/myprogram/Program Regards Kiren -Original Message- From: Jaume Obrador [mailto:[EMAIL PROTECTED] Sent: Tuesday, 20 April 2004 12:17 To: [EMAIL PROTECTED] Subject: Running an application from a different directory Hi I have a problem. I nee

Re: Running an application from a different directory

2004-04-19 Thread Joseph Shraibman
Jaume Obrador wrote: What finally I want to do is to run a java process as a daemon and I must be able to run it from /etc/init.d/ Inside the script just change to the proper directory (or set the CLASSPATH variable). Changes to the environment made by a script are lost when the script ends,