TRUNK-4514: OpenMRS does not start if JVM is 1.8
(cherry picked from commit 9538f922efe93ecef55cd7b3fbefd5821cad4b2e)