Setting Up OpenMRS Developer Environment
(Windows 10)
Dependencies
Before building and compiling OpenMRS you must install the following dependencies:
...
or whatever version you currently have
Check for JRE by going to the command prompt and typing:
...
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)
OpenMRS requires at least java 1.6
The latest versions of JDK and JRE can be found at the following link:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
MYSQL
For MySQL you must know MYSQL your root password or have a database ready with username and password
http://dev.mysql.com/downloads/mysql/
Eclipse IDE for Java EE Developers
...
In Eclipse go to Help>Install New Software
...
Select Add and enter the following:
...
Location: http://run-jetty-run.googlecode.com/svn/trunk/updatesite
Select RunJettyRun Select Run JettyRun and click Next to install Jetty
...
https://github.com/openmrs/openmrs-core
Select all branches and select a destination for the files.
After the OpenMRS files have been imported go to File > Import again in Eclipse and
...
Select Browse and navigate to the openmrs-core folder.
Select all projects and click Finish to import openmrs-core into your Eclipse workspace.
Compiling OpenMRS
From the command prompt navigate to the OpenMRS project directory
...