Dear Edwin, I believe the problem is your JDK version.
You should try to run with JDK17. Regards Adam Sent from my iPhone > On 1 Sep 2022, at 10:55, Edwin Saidi <[email protected]> wrote: > > > Dear all, > > I am trying to install Fineract on Windows using the instructions given on > https://cwiki.apache.org/confluence/display/FINERACT/Fineract-platform+Installation+on+Windows. > I have successfully done all the preliminary steps (installing Java, > installing MySQL, installing Tomcat, creating environment variables) but when > I get to downloading Fineract, I change the directory to > c:\fineract\incubator-fineract\fineract-provider and try to execute the > command gradle clean dist -Ptwofactor=enabled (step 3) but I get an error > bash: gradle: command not found. Seeing that Gradle is located in > c:\fineract\incubator-fineract I change the command to ../gradle clean dist > -Ptwofactor=enabled and I now get the error FAILURE: Build failed with an > exception. > xxxx > Please read the following process output to find out more: > ----------------------- > Unrecognized option: --add-exports > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > > Find attached a screenshot of the detailed error messages > > Please assist? > > Regards, > > Edwin > >
