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]

Reply via email to