IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes curl Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "curl "not recognized as internal or external command"" Watch "curl "not recognized as internal or external command"" New topic
Author

curl "not recognized as internal or external command"

Graeme Byers
Ranch Hand

Joined: Apr 16, 2004
Posts: 127
I have been following "Maven : The Definitive Guide" by Sonatype page 75 and so downloaded curl-7.24.0 for the example.
I noticed that there has been one previous question on curl in this forum and expect that others have run the example successfully.
What should I put in my WinXP-Pro path so that I don't get the error above ?

Thank you for any help.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

You can download a Windows version of curl from http://curl.haxx.se/download.html. Grab one of the binary zip files, download it, and unpack it to anywhere in your PATH.


JBoss In Action
Graeme Byers
Ranch Hand

Joined: Apr 16, 2004
Posts: 127
Hi Peter, Thank you for your reply but I did what you suggest before posting.

Here is a listing of %path%


Here is a directory listing of C:\Program Files\curl-7.24.0


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 4875

Note that I wrote " Grab one of the binary zip files". You grabbed the source code instead. The binary ZIP should have only one file in it: curl.exe
 
IntelliJ Java IDE
 
subject: curl "not recognized as internal or external command"
 
Threads others viewed
How to save remote page that has javascript content as a file
Help With Rest EJB
Protecting a Website from curl
Detecting Crashes in JBoss 4.0.2
run curl from a cgi script
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com