Good news.
I copied the runtime properties file from appdata\openmrs to the tomcat folder and it is now working.
The problem is I can’t compile openmrs-core with java 1.6. The version I deployed was built with java 1.8. I would really like to compile it with java 1.6.
I am waiting for some help from Wyclif on this.
Thanks.