Thursday, November 1, 2012

Apache Maven Setup With own Remote Archiva

When i was trying to run mvn clean command from command prompt i got Following error

ERROR: JAVA_HOME is set to an invalid directory.
JAVA_HOME = "C:\Program Files\Java\jdk1.6.0_34;"
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation
Please note that JAVA_HOME Should be something like this
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34
And not like this...
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34;
 
Note:-Again, a single directory spec shouldn't end with a separator like ";" Create a Maven web project from Eclipse IDE and m2eclipse plugin downloaded from http://m2eclipse.sonatype.org/installing-m2eclipse.html by eclipse. 1-Go to Eclipse-Help->Install New Software and add above Url. http://developerwayblog.blogspot.in/2011/09/struts2-and-tiles-integration-tutorial.html Issue that waste my whole day. Issue Link With Solution Some link help 1-HeapSize 2-Java Version 3-Eclipse Heap Size