Iam a newbie to
JAVA. I want to configure
Maven and ANT with eclipse in windows vista.
what i have done till now,
--------------------------------------------------------------------------------------------------
i have configured ANT with path specified upto its location like
C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.7.0\bin\ant.bat
with the following arguement as :-
fGen-debug
but seems to be not working and giving me the following msg in console of eclipse:-
ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.
--------------------------------------------------------------------------------------------
For maven, the path defined is
C:\Program Files (x86)\Apache Software Foundation\apache-maven-2.0.9\bin\mvn.bat
with the following arguement:-
-o compile
iam getting the following error msg on the console:-
ERROR: JAVA_HOME is set to an invalid directory.
JAVA_HOME = C:\Program Files (x86)\Java\jdk1.6.0\bin
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
-----------------------------------------------------------------------------------------------
what is that ?
Following are the basic path setting in my system variables:-
ANT_HOME - C:\Program Files (x86)\Apache Software Foundation\apache-ant-1.7.0
JAVA_HOME - C:\Program Files (x86)\Java\jdk1.6.0\bin
Path - %JAVA_HOME%/bin;%ANT_HOME%/bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.1\bin
Your help would be really appreciated.
thanks in advance..........