Kamna Jain wrote:
Yes,
I am setting the JAVA_HOME variable with DOS prompt
and after I set it, I log of and then it is available in the list of
env. variables after I log back in.
But, when I try to run mvn install, it still gives me the same error.
Also, although, I set the M2_HOMe variable, I am not able to use mvn
command without its location! (I have to write the full path of the
mvn.bat file and then say install after a space)
I dont know what I am doing wrong.
Thanks for your replies.
I remember seeing this on another windows machine. It has something to
do with that crappy thing they like to call an Operating System and the
way it executes the maven script.
Do you by any chance have installed both the JDK and the JRE?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/