I reinstalled Java to another directory and corrected the relevant environment variables. I am still getting the same error.
My other code in eclipse is working fine. I have deployed a few web services using Tomcat. Even they are working fine. Regards, Sagar M. Yerunkar "Kalle Korhonen" <[EMAIL PROTECTED]> 04/02/2007 11:45 PM Please respond to "Maven Users List" <users@maven.apache.org> To "Maven Users List" <users@maven.apache.org> cc Subject Re: Unable to run it Looking at the error trace, I'd assume it's the Java installation that's "corrupted". Check what you get when you run "java" and and what the $JAVA_HOME is pointing to. Kalle On 4/2/07, Sagar Yerunkar <[EMAIL PROTECTED]> wrote: > > I have downloaded the software from maven.apache. > > It runs fine on another system. It recognizes the mvn command, but then it > throws the error i have pasted below. > > > Regards, > > Sagar M. Yerunkar > > > > > Maria Odea Ching <[EMAIL PROTECTED]> > 04/02/2007 03:12 PM > Please respond to > "Maven Users List" <users@maven.apache.org> > > > To > Maven Users List <users@maven.apache.org> > cc > > Subject > Re: Unable to run it > > > > > > > What version of maven are you using? :-) > You downloaded it from the maven.apache right? Or did you build from > source? > > - Deng > > Sagar Yerunkar wrote: > > Hello, > > > > I tried reinstalling it. I tried reinstalling in and specified a > different > > directory and updated all the required paths and environment variables. > I > > even tried reinstalling it on another drive. It still does not work. :( > > > > > > Regards, > > > > Sagar M. Yerunkar > > > > > > > > > > Maria Odea Ching <[EMAIL PROTECTED]> > > 04/02/2007 01:32 PM > > Please respond to > > "Maven Users List" <users@maven.apache.org> > > > > > > To > > Maven Users List <users@maven.apache.org> > > cc > > > > Subject > > Re: Unable to run it > > > > > > > > > > > > > > Hi Sagar, > > > > Maybe the maven you've installed in that system is corrupted. > > You just might need to re-install it :-) > > > > Thanks, > > Deng > > > > > > Sagar Yerunkar wrote: > > > >> Hello, > >> > >> I have installed apache maven on my system. I have added all the > >> directories to the path and have set the required variables. However, i > > >> get this error when i type "mvn site" : > >> > >> Usage: java [-options] class [args...] > >> (to execute a class) > >> or java [-options] -jar jarfile [args...] > >> (to execute a jar file) > >> > >> where options include: > >> -client to select the "client" VM > >> -server to select the "server" VM > >> -hotspot is a synonym for the "client" VM [deprecated] > >> The default VM is client. > >> > >> -cp <class search path of directories and zip/jar files> > >> -classpath <class search path of directories and zip/jar files> > >> A ; separated list of directories, JAR archives, > >> and ZIP archives to search for class files. > >> -D<name>=<value> > >> set a system property > >> -verbose[:class|gc|jni] > >> enable verbose output > >> -version print product version and exit > >> -version:<value> > >> require the specified version to run > >> -showversion print product version and continue > >> -jre-restrict-search | -jre-no-restrict-search > >> include/exclude user private JREs in the version > >> > > search > > > >> -? -help print this help message > >> -X print help on non-standard options > >> -ea[:<packagename>...|:<classname>] > >> -enableassertions[:<packagename>...|:<classname>] > >> enable assertions > >> -da[:<packagename>...|:<classname>] > >> -disableassertions[:<packagename>...|:<classname>] > >> disable assertions > >> -esa | -enablesystemassertions > >> enable system assertions > >> -dsa | -disablesystemassertions > >> disable system assertions > >> -agentlib:<libname>[=<options>] > >> load native agent library <libname>, e.g. > >> -agentlib:hprof > >> see also, -agentlib:jdwp=help and > >> > > -agentlib:hprof=help > > > >> -agentpath:<pathname>[=<options>] > >> load native agent library by full pathname > >> -javaagent:<jarpath>[=<options>] > >> load Java programming language agent, see > >> java.lang.instrument > >> > >> I have installed the same software on another system too. It works > >> > > there. > > > >> If anyone has faced the same issue and resolved it, kindly help. > >> > >> Regards, > >> > >> Sagar M. Yerunkar > >> > >> > >> ______________________________________________________________________ > >> > >> > >> > >> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > ______________________________________________________________________ > > > > > > > > ______________________________________________________________________ > > > > !DSPAM:602,4610c79f65581804284693! > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ______________________________________________________________________ > > > > ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________