Have you been able to get OFBiz built on Windows 10? As I said in the original message, I'm not interested in replies from people who haven't tried.
As for what you consider "most likely" as the source of problems (an embedded blank in the path), as you should have seen from the Powershell prompt in the transcript PS C:\apache-ofbiz-16.11.05> I'm building in C:\apache-ofbiz-16.11.05. I.e., I'm NOT building a directory with a name that has an embedded blank. Regards, Michael Turner Executive Director Project Persephone 1-25-33 Takadanobaba Shinjuku-ku Tokyo 169-0075 Mobile: +81 (90) 5203-8682 [email protected] Understand - http://www.projectpersephone.org/ Join - http://www.facebook.com/groups/ProjectPersephone/ Donate - http://www.patreon.com/ProjectPersephone Volunteer - https://github.com/ProjectPersephone "Love does not consist in gazing at each other, but in looking outward together in the same direction." -- Antoine de Saint-Exupéry On Wed, Dec 19, 2018 at 8:24 PM Taher Alkhateeb <[email protected]> wrote: > > Most likely a space issue. Make sure there are no spaces in the path > where you placed OFBiz such as "C:\users\My User\ofbiz" > > On Wed, Dec 19, 2018 at 12:18 PM Michael Turner > <[email protected]> wrote: > > > > I've seen this problem reported, but not obviously fixed. I'm really > > only interested in responses from people who have actually tried to > > build OFBiz on Windows 10. > > > > 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 > > > > I'm not really familiar with Gradle and it's not at all clear to me > > where java is being asked to look for commons-cli.jar. Why isn't this > > dependency automatically fetched and put in the right place for java > > to find it? > > > > Here's what happens when I try to follow the instructions. > > > > ----- > > PS C:\apache-ofbiz-16.11.05> ./gradlew.bat cleanAll loadDefault > > :clean > > :cleanAnt > > :cleanCatalina > > :cleanData > > :cleanDownloads > > :cleanEclipseClasspath UP-TO-DATE > > :cleanEclipseJdt UP-TO-DATE > > :cleanEclipseProject UP-TO-DATE > > :cleanEclipse UP-TO-DATE > > :cleanFooterFiles > > :cleanGradle > > :cleanIndexes > > :cleanLogs > > :cleanOutput > > :cleanTempfiles > > :cleanUploads > > :cleanXtra > > :cleanAll > > :compileJava > > :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:338) > > 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_161\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: 57.071 secs > > > > ===== > > > > Regards, > > Michael Turner > > Executive Director > > Project Persephone > > 1-25-33 Takadanobaba > > Shinjuku-ku Tokyo 169-0075 > > Mobile: +81 (90) 5203-8682 > > [email protected] > > > > Understand - http://www.projectpersephone.org/ > > Join - http://www.facebook.com/groups/ProjectPersephone/ > > Donate - http://www.patreon.com/ProjectPersephone > > Volunteer - https://github.com/ProjectPersephone > > > > "Love does not consist in gazing at each other, but in looking outward > > together in the same direction." -- Antoine de Saint-Exupéry
