Hi,

I guess your Windows is not up to date or for another reason the alias between Invoke-WebRequest command and wget does not exist on your system. You can workaround that:

1. Edit C:\Ofbiz\gradle\init-gradle-wrapper.ps1 (use Notepad for instance)
2. Replace wget there by Invoke-WebRequest
3. Save the file and retry

Jacques

Le 04/10/2019 à 17:19, Ethan Vos a écrit :
Figured it out.

Here it is.

Thanks.

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Caleb>CD C:\Ofbiz

C:\Ofbiz>init-gradle-wrapper
The term 'wget' is not recognized as the name of a cmdlet, function, script fil
e, or operable program. Check the spelling of the name, or if a path was includ
ed, verify that the path is correct and try again.
At C:\Ofbiz\gradle\init-gradle-wrapper.ps1:26 char:5
+ wget <<<<  -outf gradle\wrapper\gradle-wrapper.jar http://dl.bintray.com/apac
heofbiz/GradleWrapper/v2.13/gradle-wrapper.jar
    + CategoryInfo          : ObjectNotFound: (wget:String) [], CommandNotFoun
   dException
    + FullyQualifiedErrorId : CommandNotFoundException

The term 'wget' is not recognized as the name of a cmdlet, function, script fil
e, or operable program. Check the spelling of the name, or if a path was includ
ed, verify that the path is correct and try again.
At C:\Ofbiz\gradle\init-gradle-wrapper.ps1:27 char:5
+ wget <<<<  -outf gradle\wrapper\gradle-wrapper.properties http://dl.bintray.c
om/apacheofbiz/GradleWrapper/v2.13/gradle-wrapper.properties
    + CategoryInfo          : ObjectNotFound: (wget:String) [], CommandNotFoun
   dException
    + FullyQualifiedErrorId : CommandNotFoundException

The term 'wget' is not recognized as the name of a cmdlet, function, script fil
e, or operable program. Check the spelling of the name, or if a path was includ
ed, verify that the path is correct and try again.
At C:\Ofbiz\gradle\init-gradle-wrapper.ps1:28 char:5
+ wget <<<<  -outf gradlew.bat http://dl.bintray.com/apacheofbiz/GradleWrapper/
v2.13/gradlew.bat
    + CategoryInfo          : ObjectNotFound: (wget:String) [], CommandNotFoun
   dException
    + FullyQualifiedErrorId : CommandNotFoundException


C:\Ofbiz>

On 04/10/2019 10:54 a.m., Jacques Le Roux wrote:
Could you paste the text? It works perfectly well here, I also use Windows 7

Le 04/10/2019 à 15:54, Ethan Vos a écrit :
Good morning.

Ok, I read the README, installed JDK Hotspot (I did not reboot - was I supposed 
to?) and ran init-gradle-wrapper from the C:\Ofbiz> prompt.

Got lots of red text, which seems to suggest that the term wget is causing a 
problem.

Partial comment - C:\Ofbiz\gradle\init-gradle-wrapper.ps1:26 char:5

Also ps1:27 and ps1:28

If I could copy the text, I'd paste it all.

Any ideas?


On 04/10/2019 2:07 a.m., Jacques Le Roux wrote:
Morning,

I guess you are using 16.12.06, please read the README.md.html file using your 
browser. You need to use |init-gradle-wrapper 1st.|

HTH

Jacques

Le 03/10/2019 à 21:50, Ethan Vos a écrit :
Sorry, I thought I was on the list - I'm getting emails regularly.

In any case, I got where I needed to be.

I have a folder called Ofbiz. I downloaded the zip file and extracted it in the 
folder. A DIR command shows all the files are there.

I then copied and pasted gradlew loadDefault ofbiz (tried with and without quotation marks) from the install webpage and get an error "gradlew is not recognized...."

Version 16.11.06

Thanks.


On 03/10/2019 3:25 p.m., Jacques Le Roux wrote:
Hi Ethan,

Your message has been moderated.

Please subscribe to the user ML for such questions and then use your email 
client
See why here http://ofbiz.apache.org/mailing-lists.html

You will get a better support , it's more fair to share with everybody  and 
people can answer you on the ML rather than directly to you
The wider the audience the better the answers you might get

Also it's more work for moderators who have to accept your messages as long as 
you have not subscribed.
I'll personally no longer accept them (other moderators still could)

Thanks

Try using a folder w/o space in its name.

If it does not work you will need to give us more details, like the version you 
tried, etc.


Jacques

Le 03/10/2019 à 20:19, Ethan Vos a écrit :
Hello everyone.

I'm having trouble installing this on Windows 7.

I put the zip file into a folder named Of biz but I can't seem to get there 
from the command prompt.

Any ideas?





Reply via email to