You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Oliver Noelle <Ol...@bmw-carit.de> on 2004/06/30 10:09:19 UTC

bug in maven.bat

After updating to maven-1.0-rc4 it took me a while to find out why I 
could not start maven and only got the following info message from java:

Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
[...]


I tracked it down to the following argument to the java virtual machine 
which seems to cause my trouble:
"-Duser.home.env=U:\"

Removing this command solved my problems. I guess the combination of \" 
does escape the doublequote...


Can someone else raise an issue in jira, I am just too busy right now...


Oliver


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: bug in maven.bat

Posted by Brett Porter <br...@gmail.com>.
what OS are you using?

On Wed, 30 Jun 2004 10:09:19 +0200, Oliver Noelle
<ol...@bmw-carit.de> wrote:
> 
> After updating to maven-1.0-rc4 it took me a while to find out why I
> could not start maven and only got the following info message from java:
> 
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java [-options] -jar jarfile [args...]
>            (to execute a jar file)
> [...]
> 
> I tracked it down to the following argument to the java virtual machine
> which seems to cause my trouble:
> "-Duser.home.env=U:\"
> 
> Removing this command solved my problems. I guess the combination of \"
> does escape the doublequote...
> 
> Can someone else raise an issue in jira, I am just too busy right now...
> 
> Oliver
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: bug in maven.bat

Posted by Carlos Sanchez <ap...@carlos.cousas.net>.
Hi,

Try setting HOME to "U:/" instead of "U:\"

Regards

Carlos Sanchez
A Coruña, Spain

Oness Project
http://oness.sourceforge.net
 

> -----Original Message-----
> From: Oliver Noelle [mailto:Oliver.Noelle@bmw-carit.de] 
> Sent: Wednesday, June 30, 2004 10:09 AM
> To: users@maven.apache.org
> Subject: bug in maven.bat
> 
> After updating to maven-1.0-rc4 it took me a while to find 
> out why I could not start maven and only got the following 
> info message from java:
> 
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java [-options] -jar jarfile [args...]
>            (to execute a jar file)
> [...]
> 
> 
> I tracked it down to the following argument to the java 
> virtual machine which seems to cause my trouble:
> "-Duser.home.env=U:\"
> 
> Removing this command solved my problems. I guess the 
> combination of \" 
> does escape the doublequote...
> 
> 
> Can someone else raise an issue in jira, I am just too busy 
> right now...
> 
> 
> Oliver
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org