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