You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@fineract.apache.org by Bruce <br...@gmail.com> on 2023/02/23 12:40:03 UTC
Re: Problems Installing Fineract
Hi Edwin
Where you able to finally install Apache Fineract?
On Tue, Sep 6, 2022 at 11:51 AM Edwin Saidi <es...@idias.mw> wrote:
> Hi James,
>
>
>
> I can’t seem to locate the installation instructions on
> https://fineract.apache.org. Could you please point me to the exact link?
>
>
>
> Regards,
>
>
>
> Edwin
>
>
>
> *From:* James Dailey <ja...@gmail.com>
> *Sent:* 01 September 2022 22:48
> *To:* Dev <de...@fineract.apache.org>
> *Subject:* Re: Problems Installing Fineract
>
>
>
> 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 <es...@idias.mw> 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 <es...@idias.mw>
> *Sent:* 01 September 2022 12:39
> *To:* dev@fineract.apache.org
> *Subject:* RE: Problems Installing Fineract
>
>
>
> Thanks Adam,
>
>
>
> I will try jdk 17
>
>
>
> Regards,
>
>
>
> Edwin
>
>
>
> *From:* Ádám Sághy <ad...@gmail.com>
> *Sent:* 01 September 2022 11:02
> *To:* dev@fineract.apache.org
> *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 <es...@idias.mw> 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]
>
>
Re: Problems Installing Fineract
Posted by hitesh prajapati <hi...@gmail.com>.
Hi Edwin,
I am using windows to run fineract locally. I normally follows the README
file and it works fine for me. I run fineract as JAR
My steps are
1. Clone the fineract repository using below command
git clone https://github.com/apache/fineract.git --config
core.autocrlf=input
2. Go to go to fineract repository folder and build the jar using the below
command from the command prompt. I have just skipped the tests here with
the -x test to save time.
gradlew clean bootJar -x test
3. Run the JAR build in step 2. Jar will be there
in fineract-provider\build\libs directory. This successfully launched
FIneract.
java -jar fineract-provider/build/libs/fineract-provider-x.x.x-xxxxxxx.jar
you can check whether the fineract is running or not with
https://localhost:8443/fineract-provider/actuator/health
[image: image.png]
Thanks,
Hitesh
On Thu, Feb 23, 2023 at 6:11 PM Bruce <br...@gmail.com> wrote:
> Hi Edwin
>
> Where you able to finally install Apache Fineract?
>
> On Tue, Sep 6, 2022 at 11:51 AM Edwin Saidi <es...@idias.mw> wrote:
>
>> Hi James,
>>
>>
>>
>> I can’t seem to locate the installation instructions on
>> https://fineract.apache.org. Could you please point me to the exact link?
>>
>>
>>
>> Regards,
>>
>>
>>
>> Edwin
>>
>>
>>
>> *From:* James Dailey <ja...@gmail.com>
>> *Sent:* 01 September 2022 22:48
>> *To:* Dev <de...@fineract.apache.org>
>> *Subject:* Re: Problems Installing Fineract
>>
>>
>>
>> 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 <es...@idias.mw> 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 <es...@idias.mw>
>> *Sent:* 01 September 2022 12:39
>> *To:* dev@fineract.apache.org
>> *Subject:* RE: Problems Installing Fineract
>>
>>
>>
>> Thanks Adam,
>>
>>
>>
>> I will try jdk 17
>>
>>
>>
>> Regards,
>>
>>
>>
>> Edwin
>>
>>
>>
>> *From:* Ádám Sághy <ad...@gmail.com>
>> *Sent:* 01 September 2022 11:02
>> *To:* dev@fineract.apache.org
>> *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 <es...@idias.mw> 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]
>>
>>