You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Marco Stocchi <ma...@gmail.com> on 2018/10/23 19:54:10 UTC

help on installation issue

Hello...
I have donwloaded and copied the files of maven into my pc. I need to use
maven to build a java project.
when typing "mvn" on the cmd prompt, I get the following error

Error: -classpath requires class path specification

The internet suggests to mess up with the environment variables, I tried
all the solutions proposed but nothing worked for me.

Does anyone know what does this message mean?

Thanks

Re: help on installation issue

Posted by Bernd Eckenfels <ec...@zusammenkunft.net>.
Can you please show the whole input and output, what start directory did you use (don’t run it in c:\) and also provide the output of the set command.

Gruss
Bernd
--
http://bernd.eckenfels.net

________________________________
Von: Marco Stocchi <ma...@gmail.com>
Gesendet: Dienstag, Oktober 23, 2018 11:20 PM
An: users@maven.apache.org
Betreff: help on installation issue

Hello...
I have donwloaded and copied the files of maven into my pc. I need to use
maven to build a java project.
when typing "mvn" on the cmd prompt, I get the following error

Error: -classpath requires class path specification

The internet suggests to mess up with the environment variables, I tried
all the solutions proposed but nothing worked for me.

Does anyone know what does this message mean?

Thanks

RE: help on installation issue

Posted by "Golan, Yaron" <ya...@intl.att.com>.
Can you verify that you have a valid JDK and it is in the path, please?

-----Original Message-----
From: Marco Stocchi <ma...@gmail.com> 
Sent: Tuesday, October 23, 2018 10:54 PM
To: users@maven.apache.org
Subject: help on installation issue

Hello...
I have donwloaded and copied the files of maven into my pc. I need to use maven to build a java project.
when typing "mvn" on the cmd prompt, I get the following error

Error: -classpath requires class path specification

The internet suggests to mess up with the environment variables, I tried all the solutions proposed but nothing worked for me.

Does anyone know what does this message mean?

Thanks