Dashboard > DHIS Documentation > ... > Development environment and tools > Development environment and tools on Windows
  DHIS Documentation Log In | Sign Up   View a printable version of the current page.  
  Development environment and tools on Windows
Added by margrsto, last edited by Knut Staring on Nov 07, 2008  (view change)
Labels: 
(None)

This page explains how to set up your Windows system. If you are not using Windows, please go back to the Development environment and tools page and find your desired operating system.

Step 1 - Download and install the tools

You have to download, install and configure these tools:

Step 2 - Environmental Variables Setup

To set Environment Variables in Windows, either go to Control Panel -> System or right-click My Computer -> Properties. Select the Advanced Tab and then click the Environment Variables button. Put focus on the second box (System Variables) by clicking on one of the existing values.

Enter the following variables:

(The specific folders below e.g. 'j2sdk-1.5' need to be modified to fit your own install folders(these depend on the releases))

JAVA_HOME = <path-to-java-folder>\j2sdk-1.5

Append to the PATH variable:
%JAVA_HOME%\bin;<path-to-Maven-folder>\bin;

Another way of setting variables is to open command prompt and type "Set variablename = variablevalue".

You may need to reboot your computer for these changes to take effect. If you wonder if the changes have taken effect you can open a command prompt and type "Set", which will show you all values.

You should now be able to open a command prompt and type "java -version" and "mvn --version".

You're merging the Windows, Linux and Mac pages? I think it's nice to keep them separate.

Maybe. I keep changing my mind all the time

I'm trying to delete these comments!

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators