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






----- Forwarded Message ----
From: Amila Serasinghe <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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. When 
I run the command

 sudo $AXIS2_HOME/bin/java2wsdl.sh -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
JAVA_HOME=/home/amila/programes/jdk1.6.0_06
export PATH=$PATH:$JAVA_HOME/bin

AXIS2_HOME=/home/amila/programes/axis2-1.4
export PATH=$PATH:$AXIS2_HOME/bin

                       my /etc/environment file
JAVA_HOME="/home/amila/programes/jdk1.6.0_06"

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


      

Reply via email to