I have always used MAVEN_HOME and added it to the path.
When I switch Maven versions it is easier to find the Environment variable rather than looking through several hundred characters in PATH.
Same for all of the other software.
Makes PATH a lot shorter and easier to read.

Any reason why you recommend against this?
Would another name be be better?

Ron

On 15/10/2015 3:50 PM, Karl Heinz Marbaise wrote:
Hi,

first dont use "maven --version" as command cause maven will be called by: "mvn --version" instead...

Furthermore you should not use MAVEN_HOME environment variable...only add the bin folder of the distribution (apache-maven-3.3.3/bin) to the PATH of your windows system....

Don't forget to close and reopen the console...and then check it...


Kind regards
Karl Heinz Marbaise
On 10/15/15 9:45 PM, Cai Black wrote:
[RESOLVED] OK, so, apparently this is an issue with Maven 3.3.3, and when I downgraded to Maven 3.2.5, everything worked as expected.

Christopher (Cai) Black
Mgr. Software Development

RigNet
1880 S. Dairy Ashford, Suite 300 | Houston, TX  77077- 4760 | USA
Tel: +1.281.674.0717 | Mobile: +1.832.439.8134 | Fax: +1.281.674.0101
Email: [email protected]<mailto:[email protected]>
www.rig.net<http://www.rig.net/>

From: Cai Black
Sent: Thursday, 15 October 2015 14:22
To: '[email protected]'
Subject: Cannot seem to install Maven on Windows 7 64-bit

Hi, all.

I did the following:

* installed jdk-8u60-windows-x64

"java -version" output:
C:\>java -version
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

* extracted the ZIP into C:\maven
* added the following environment variable: MAVEN_HOME = C:\maven
* appended the following to the PATH: %MAVEN_HOME%\bin

"maven -version" outputs the same thing as "java -help" instead of the expected "Apache Maven 3....." stuff.

Any thoughts here?

Christopher (Cai) Black
Mgr. Software Development

RigNet
1880 S. Dairy Ashford, Suite 300 | Houston, TX  77077- 4760 | USA
Tel: +1.281.674.0717 | Mobile: +1.832.439.8134 | Fax: +1.281.674.0101
Email: [email protected]<mailto:[email protected]>
www.rig.net<http://www.rig.net/>




******* Important Notice *********
This e-mail may contain information that is confidential, privileged or
otherwise protected from disclosure. If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. Please delete it and any attachments and notify the sender that you have received it in error.
Unintended recipients are prohibited from taking action on the basis of
information in this e-mail.

E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, deleted or interfered with without the knowledge of the sender or the intended recipient. If you are not comfortable with the risks associated with e-mail messages, you
may decide not to use e-mail to communicate with RigNet.

RigNet reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from
its systems.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to