Error while running mvn clean install on git bash

I have cloned this project from my fork GitHub - openmrs/ Provides RESTful web services for OpenMRS and when I run mvn clean install without making any changes I get these errors Hillary@CYBERSPACE MINGW64 /c/openmrsTickets/ ( - . Kindly how can I go about this

Oh sorry! kindly Verify that JAVA_HOME refers to a JDK home and not a JRE

On Windows: Go to System properties → Advanced system settings → Advanced → environment variable and on the System variables section select the JAVA_HOME variable and click on Edit Fill the form with the following Variable name: JAVA_HOME Variable value:

1 Like