Hi,

If it still doesn't work, you may wonder if the user's or the root .bashrc is read when invoking sudo...

I don't have a 2.3.2 james dist atm, maybe try to find a place in the james shell script to set there JAVA_HOME

Tks,
- Eric


On 24/05/2011 15:14, Daniel Tan wrote:
just check where is your java path and perform the following.
if your java command is in /usr/bin
just the following.

export JAVA_HOME=/usr/bin

On 24-May-2011, at 9:05 PM, Kurniawan Junaidy wrote:

On 05/24/2011 05:31 PM, Eric Charles wrote:
Hi,
Try to launch with root privileges.
Tks,
- Eric
Thanks for the reply. I have already use the sudo command:

sudo ./run.sh

event though JAVA_HOME already setup in .bashrc, i got this result:

iwan@iwan-lucid:~/dev/james-2.3.2/bin$ sudo ./run.sh
ERROR: JAVA_HOME not found in your environment.

Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to