Set up Environment Variables

 

  • Go to My Computer, right click and select Properties.

Environment Variable Tab

  • Click the Advanced tab. Then click to open Environment Variables. In this next step, we'll be setting system variables, make sure you aren't creating user variables.

Environment Variable - Systems

  • Set up JAVA_HOME environment variable. 
    • This should be the directory/folder where the JDK is installed.   First, locate where you have the JDK installed. In my example, my JDK was located here: C:\Program Files\Java\jdk1.6.0_21 (Screenshot below shows location of my JDK)

location java environment variable.png

  •  
    • Under System variables, click New to set up a new variable.  In variable name, enter JAVA_HOME  For Variable value, enter or copy and paste the location of the JDK - in my example - C:\Program Files\Java\jdk1.6.0_21 (this will be unique to wherever you installed the JDK).

Java variable.png

  • Set up CATALINA_HOME environment variable
    • This time, it should be the directory/folder where the Apache Tomcat is installed (in my example, this is the Mifos Install folder where I previously unzipped it to). The location for my example was C:\Mifos Install\apache-tomcat-6.0.29\apache-tomcat-6.0.29 Once again this will be unique to your instance. Screenshot below shows location of my Apache Tomcat.

location tomcat variable environment.png

  •  
    • Still under System variables, click New to set up another new variable.  In Variable name, enter CATALINA_HOME For Variable value enter the location of your Apache Tomcat.  In my example, C:\Mifos Install\apache-tomcat-6.0.29\apache-tomcat-6.0.29 (ONCE AGAIN - THIS WILL BE UNIQUE TO YOUR INSTANCE)

Apache Tomcat variable.png

  • Set up CATALINA_OPTS.
    • Click New. For Variable name, enter: CATALINA_OPTS For Variable value, enter or copy and paste the following (make sure to include the initial hyphen):  -Xms1024M -Xmx1024M -XX:MaxPermSize=256m

Catalina Opts.png

  • Set up MIFOS_CONF.

    • Since we customized our local.properties file, we need to set up a system variable for MIFOS_CONF so Mifos knows which directory in which to locate the custom local.properties file.

    • In my case, this directory is: C:\Mifos Install\mifos-v1.6.1\mifos-v1.6.1\config  This will be unique to your installation and where you've placed your folders. 

    • Location of confg

    • Click New. For variable name, enter: MIFOS_CONF For Variable value, enter the location of your config folder; in my example: C:\Mifos Install\mifos-v1.6.1\mifos-v1.6.1\config

  • Click OK to save and apply the changes.

Go back to top of the page.

0
Your rating: None