You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (Jira)" <ji...@apache.org> on 2019/08/22 14:18:00 UTC

[jira] [Updated] (MNGSITE-375) Installation path on Windows

     [ https://issues.apache.org/jira/browse/MNGSITE-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MNGSITE-375:
-----------------------------------
    Description: 
[https://maven.apache.org/guides/getting-started/windows-prerequisites.html] says ...
{quote} You need to install the Java SDK (e.g. from [Oracle's download site|http://www.oracle.com/technetwork/java/javase/downloads/index.html]), and you should install it to a pathname without spaces, such as {{c:\j2se1.6}}.
{quote}
 ... which is inconvenient if it's already installed, because that's not the default directory.

 [https://maven.apache.org/install.html] says ...

 {quote}
 * Check environment variable value e.g.

echo %JAVA_HOME% 
 C:\Program Files\Java\jdk1.7.0_51
 {quote}

... which contradicts the above.

One or other of these should be changed.

See also [https://stackoverflow.com/questions/18724226/why-shouldnt-i-put-spaces-in-my-maven-path-in-windows] which is from 2010 and could be updated when you decide what the right answer is (i.e. whether it's necessary to install into a path without space).

  was:
[https://maven.apache.org/guides/getting-started/windows-prerequisites.html] says ...

> You need to install the Java SDK (e.g. from [Oracle's download site|http://www.oracle.com/technetwork/java/javase/downloads/index.html]), and you should install it to a pathname without spaces, such as {{c:\j2se1.6}}.

 ... which is inconvenient if it's already installed, because that's not the default directory.

 [https://maven.apache.org/install.html] says ...

 ```
 * Check environment variable value e.g.

echo %JAVA_HOME% 
C:\Program Files\Java\jdk1.7.0_51
```

... which contradicts the above.

One or other of these should be changed.

See also https://stackoverflow.com/questions/18724226/why-shouldnt-i-put-spaces-in-my-maven-path-in-windows which is from 2010 and could be updated when you decide what the right answer is (i.e. whether it's necessary to install into a path without space).


> Installation path on Windows
> ----------------------------
>
>                 Key: MNGSITE-375
>                 URL: https://issues.apache.org/jira/browse/MNGSITE-375
>             Project: Maven Project Web Site
>          Issue Type: Bug
>            Reporter: Chris Wells
>            Priority: Minor
>              Labels: installation, windows
>
> [https://maven.apache.org/guides/getting-started/windows-prerequisites.html] says ...
> {quote} You need to install the Java SDK (e.g. from [Oracle's download site|http://www.oracle.com/technetwork/java/javase/downloads/index.html]), and you should install it to a pathname without spaces, such as {{c:\j2se1.6}}.
> {quote}
>  ... which is inconvenient if it's already installed, because that's not the default directory.
>  [https://maven.apache.org/install.html] says ...
>  {quote}
>  * Check environment variable value e.g.
> echo %JAVA_HOME% 
>  C:\Program Files\Java\jdk1.7.0_51
>  {quote}
> ... which contradicts the above.
> One or other of these should be changed.
> See also [https://stackoverflow.com/questions/18724226/why-shouldnt-i-put-spaces-in-my-maven-path-in-windows] which is from 2010 and could be updated when you decide what the right answer is (i.e. whether it's necessary to install into a path without space).



--
This message was sent by Atlassian Jira
(v8.3.2#803003)