axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amila Serasinghe <>
Subject Re: Fw: Setting JAVA_HOME variable
Date Mon, 18 Aug 2008 07:54:27 GMT
Hi Sukma

Thanks for the help. Now it's working. when I gave echo command it gave the path perfectly.
~/bash_profile is it similar to bash.bashrc file.? thanks again.


----- Original Message ----
From: Sukma Agung Verdianto <>
Sent: Sunday, August 17, 2008 11:06:45 PM
Subject: Re: Fw: Setting JAVA_HOME variable

Hi Amila,

Make sure you have your JAVA_HOME setup properly by running
# echo $JAVA_HOME
from your command line interface.
If t does not print your JDK path, then there might be something wrong with your JAVA_HOME
env setting

And also, try to put JAVA_HOME env variable into ~/.bash_profile instead.


On Sun, Aug 17, 2008 at 11:02 PM, Amila Serasinghe <> wrote:

----- Forwarded Message ----
From: Amila Serasinghe <>
Sent: Sunday, August 17, 2008 7:16:36 PM
Subject: Fw: Setting JAVA_HOME variable

----- Forwarded Message ----
From: Amila Serasinghe <>
Sent: Sunday, August 17, 2008 6:12:49 PM
Subject: Setting JAVA_HOME variable

I am newbie to AXIS2. I started to go through the tutorial guide. I am working on ubuntu.
I run the command

 sudo $AXIS2_HOME/bin/ -cp . -cn samples.quickstart.service.pojo.StockQuoteService
-of StockQuoteService.wsdl

It says  You must set the JAVA_HOME variable before running Axis2 Script.

But I have set the JAVA_HOME in bashrc and etc/ environment

                   my bashrc file
export PATH=$PATH:$JAVA_HOME/bin

export PATH=$PATH:$AXIS2_HOME/bin

                       my /etc/environment file

I can't figure out what to do. Please help. I thank you in advance.

View raw message