Hi Christian,

please open your command line / terminal, I think it is "cmd" on Windows? I'm not sure because I'm on Mac for a few years now...

There you type "echo %JAVA_HOME%" and copy the output to your answer.

Then you type "java -version" and copy the output to your answer.

You should not delete the .gradle folder inside the OFBiz directory but delete the .gradle folder in your user's home directory.

Please notice Taher's advise. If your user's home directory contains spaces, this might be the problem why Gradle cannot download/save the dependencies.

Regards,

Michael


Am 25.12.17 um 11:36 schrieb Christian Vetterli:
Hi Michael,
I am not a programmer.
"- What does "echo %JAVA_HOME%" and "java -version" say on the command line?"
Tell me please what to do to give you an answer to the above question.
I deleted .gradle from the apache-ofbiz-16.11.03 folder.
The follwoing I got.
C:\apache-ofbiz-16.11.03>gradlew loadDefault ofbiz
:compileJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:processResources
:classes
:jar
:assemble
:compileTestJava
:processTestResources UP-TO-DATE
:testClasses
:test
:check
:build
:ofbiz --load-data
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/commons/cli/ParseException
         at org.apache.ofbiz.base.start.Start.main(Start.java:60)
Caused by: java.lang.ClassNotFoundException: 
org.apache.commons.cli.ParseException
         at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
         ... 1 more
:ofbiz --load-data FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':ofbiz --load-data'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_151\bin\java.exe'' finished 
with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug 
option to get more log output.
BUILD FAILED
Total time: 2 mins 37.606 secs
C:\apache-ofbiz-16.11.03>
Christian
Gesendet: Montag, 25. Dezember 2017 um 10:58 Uhr
Von: "Michael Brohl" <michael.br...@ecomify.de>
An: user@ofbiz.apache.org
Betreff: Re: Cannot install apache-ofbiz-16.11.03 on windows 10
Hi Christian,

it would be more readable if you answer the questions directly inline in
the cited original message, one-by-one.

I'm still waiting for the answers or actions to the following:

- What does "echo %JAVA_HOME%" and "java -version" say on the command line?

- please delete the .gradle folder inside your user's home directory and
try to run ofbiz again. You should see that Gradle download all
necessary dependencies then. I'm pretty sure that you don't have the
needed dependencies installed.

Thanks,

Michael

Am 25.12.17 um 10:49 schrieb Christian Vetterli:
What does "echo %JAVA_HOME%" and "java -version" say on the command line?


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to