ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason RJ <jason_of...@reast.net>
Subject Re: Install ofbiz windows 10
Date Tue, 31 Jul 2018 08:14:41 GMT
On 31/07/2018 03:46, Mitch Honeysett wrote:
> Hi!
>
> Installed ofbiz
>
> run
>
> gradlew "ofbiz --load-data readers=seed,seed-initial" 
> loadAdminUserLogin -PuserLoginId=admin
>
> but get this
>
> ERROR: JAVA_HOME is not set and no 'java' command could be found in 
> your PATH.
>
> Please set the JAVA_HOME variable in your environment to match the
> location of your Java installation.
>
> set variable
>
> Java_Home
>
> C:\Program Files\Java\jre-10.0.2\bin\
>
> in the Java config desktop path is C:\Program 
> Files\Java\jre-10.0.2\bin\javaw.exe
>
> Please help
>
> Mitch
>
Hi Mitch,

JAVA_HOME should put to a JDK not the JRE, but also I sometimes find 
using the 8.3 notation is more successful:

SET JAVA_HOME=C:\PROGRA~1\Java\JDK18~1.0_1

You can check the correct 8.3 file names for your setup with DIR /X

Jason

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message