Edwin If you update the JDK while still trying to use code from three years ago, it will not work.
You are unfortunately reading instructions that were *deprecated* over three years ago and pulling code from a repo that should have been deleted a long time ago. ( Note to rest of community: We really should do some better cleaning up of the project documentation - as pointed out by this person coming to the project. ) So, please start from the top level of the project and go from there ---> https://fineract.apache.org You will note instructions for installation from there. You don't have to build the project, you can use the executable build artifacts. https://github.com/apache/fineract is the repo (openMF is the Mifos repo that we used prior to transferring the code to Apache Foundation, it is NOT fineract). I already deprecated those pages you were referencing three years ago. I have further marked them as not useful to make it more clear and removed the link to the old repo. @jdailey On Thu, Sep 1, 2022 at 10:01 AM Edwin Saidi <[email protected]> wrote: > Hello, > > > > I have installed JDK17 and tried executing *../gradlew clean dist > -Ptwofactor=enabled *I now get the error below and attached. Even > removing the *-Ptwofactor=enabled* option, I get the same error > > > > Could not open the public key ring. > > > > FAILURE: Build failed with an exception. > > > > * What went wrong: > > Task 'dist' not found in project ':fineract-provider'. Some candidates > are: 'test'. > > > > If anyone has encountered this before please help. > > > > Regards, > > > Edwin > > > > > > *From:* Edwin Saidi <[email protected]> > *Sent:* 01 September 2022 12:39 > *To:* [email protected] > *Subject:* RE: Problems Installing Fineract > > > > Thanks Adam, > > > > I will try jdk 17 > > > > Regards, > > > > Edwin > > > > *From:* Ádám Sághy <[email protected]> > *Sent:* 01 September 2022 11:02 > *To:* [email protected] > *Subject:* Re: Problems Installing Fineract > > > > 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 > > [image: image002.png] > > > > [image: image001.png] > >
