I want to use DHIS-2 in my local system (localhost). i follow steps from here. And all files build in my system by following command
mvn install // on dhis-2 Dir and also /dhis-2/dhis-web
But i can't get this command work mvn jetty:run-war every time it give error.
Is there any step by step solution fro my problem? I want to run DHIS-2 in my local system using Eclipse. I am completely lost and want some guidelines.
First navigate to dhis-2/dhis-web/dhis-web-portal and then run:
mvn jetty:run-war
You might get this exception:
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
If you do, edit your .bashrc or .bash_profile and add:
export _JAVA_OPTIONS="-Xmx7500m -Xms4000m -XX:MaxPermSize=500m -XX:PermSize=300m"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With