Hi Fabio,
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.
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
This said, even if it's not your problems it seems, OFBiz does not yet run
under Java 11, see https://issues.apache.org/jira/browse/OFBIZ-10757
Check by putting
echo "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%"
org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
in gradlew.bat that you are using the right path to Java 8. If not change that.
Jacques
Le 21/02/2019 à 20:53, [email protected] a écrit :
Hi all,
I am trying to install ofbiz on my server but I keep getting the error
below. I am running the latest version of the Java SDK (11). I also tried
with version 8 and had the same error. Would anyone have any idea on the
root cause?
Thanks,
Fabio
GRADLE
C:\Users\fabio\Desktop\apache-ofbiz-16.11.05>gradle
Starting a Gradle Daemon, 1 busy and 1 incompatible Daemons could not be
reused, use --status for details
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\fabio\Desktop\apache-ofbiz-16.11.05\build.gradle' line:
334
* What went wrong:
A problem occurred evaluating root project 'ofbiz'.
Could not find method leftShift() for arguments
[build_c8qpep3f0bydi1t2hacoa0mxn$_run_closure11@3a141b7c] on task
':terminateOfbiz' of type org.gradle.api.DefaultTask.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 8s
JAVA
C:\Users\fabio\Desktop\apache-ofbiz-16.11.05>java -version
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)