What exact command, including whitespace and quotation marks, are you using?
> On Dec 15, 2014, at 8:29 PM, Venkat Ramakrishnan <venkat.archit...@gmail.com> > wrote: > > Hi all, > > I installed Pig 0.14.0 in my Windows 7 machine to test Pig local, > and I followed the instructions from: > > http://pig.apache.org/docs/r0.14.0/start.html#download > > After the installation, I tried to run Pig as per Step 4 under 'Download > Pig' > at the above link. > > I am getting the following error: > > '-Xmx1000M' is not recognized as an internal or external command, operable > program or batch file'. > > I looked at the pig windows executable at the 'bin' directory, and I found > that > the text '-Xmx' is used while setting JAVA_HEAP_MAX environment variable. > > I don't find anything wrong with the 'set' command as such. May be I am > missing > something obvious. > > Can someone point out what needs to be done to make the installation work? > > Thanks & Best Regards, > Venkat Ramakrishnan.