Translations:Devops:Install OpenMRS SDK/37/nb
Select the java version the openmrs server should use:
Note: JDK 1.8 or above is needed for platform version 2.6.14. Which JDK would you like to use to run this server?: 1) JAVA_HOME (currently: /usr/lib/jvm/java-11-amazon-corretto) 2) Other... Which one do you choose? [1/2]: 1
Select option 1 to select java 11 which we installed instead.
[INFO] Server configured successfully, path: /home/openmrs/openmrs/openmrs-sdk [INFO] -------------------------------------------------------------------- [INFO] BUILD SUCCESS [INFO] -------------------------------------------------------------------- [INFO] Total time: 26:00 min [INFO] Finished at: 2025-02-11T15:04:44+01:00 [INFO] --------------------------------------------------------------------
Hooray, now the openmrs-sdk is finished building.
2.3 Add config files
Run one command at a time: creates the two files adressConfiguration.xml and addresshierarchy.csv
cp openmrs/openmrs-sdk/configuration/addresshierarchy/addressConfiguration-core_demo.xml openmrs/openmrs-sdk/configuration/addresshierarchy/addressConfiguration.xml