[ 
https://jira.codehaus.org/browse/MNG-5569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=340224#comment-340224
 ] 

Casper Roubos commented on MNG-5569:
------------------------------------

Hi, thanks for the quick reply. I have one remark, though:
I have changed the JAVA_HOME to "d:\data\java\jdk1.6.0_45", so with double 
quotes aswell.
And then it did work.

Why is there a problem with double quotes with "program files (x86)" and not 
with "data\java"?

> JAVA_HOME "Program Files (x86)" gives error
> -------------------------------------------
>
>                 Key: MNG-5569
>                 URL: https://jira.codehaus.org/browse/MNG-5569
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Command Line
>         Environment: Apache Maven 3.1.1 
> (0728685237757ffbf44136acec0402957f723d9a; 2013-09-
> Maven home: d:\DATA\apache-maven-3.1.1\bin\..
> Java version: 1.6.0_45, vendor: Sun Microsystems Inc.
> Java home: d:\data\java\jdk1.6.0_45\jre
> Default locale: nl_NL, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "x86", family: "windows" 64-bit
>            Reporter: Casper Roubos
>            Assignee: Robert Scholte
>
> _as_ a programmer with a Windows 7 64-bits OS,
> _I want_ Maven to work with a JAVA_HOME path containing "c:\Program Files 
> (x86)\Java\jdk1.6.0_45",
> _so that_ I do not get a wierd error like "Files not expected at this time"
> * Unzip maven-3.1.1.zip in a folder like "d:\data\maven-3.1.1"
> * Install JDK at "c:\Program Files (x86)\Java"
> * set JAVA_HOME accordingly"
> * enter "mvn --version"
> ** _result_: an error "Files not expected at this time"
> ** _expected_: maven returning the version details
> * Copy JDK to an other directory, like "d:\data\Java\jdk1.6.0_45"
> * set JAVA_HOME accordingly
> ** _result_: maven returning the version details
> ** _conclusion_: maven does not like "c:\Program Files (x86)\Java"



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to