GitHub user brunobat opened a pull request: https://github.com/apache/tomee/pull/178
TOMEE-2261 - Make service.bat compatible with JDK11+ Detect java version and act on it. After java 11: - Remove jre references because they are invalid when using the JDK. - Remove endorced property def. because is no longer supported. This has been developped with Tomee 7.0.6-SNAPSHOT and tested with: - Windows 2012 R2 - OpenJDK11-jdk_x64_windows_openj9_11.0.1_13 - OpenJDK8U-jdk_x64_windows_hotspot_8u181b13 Signed-off-by: brunobat <bruno...@gmail.com> You can merge this pull request into a Git repository by running: $ git pull https://github.com/brunobat/tomee fix-win-service-j11 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tomee/pull/178.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #178 ---- commit 4309ec73f2c452fed5ca96dee6d344247dbee27b Author: brunobat <brunobat@...> Date: 2018-10-23T11:14:22Z Detect java version and act on it. After java 11: - Remove jre references because they are invalid when using the JDK. - Remove endorced property def. because is no longer supported. Signed-off-by: brunobat <bruno...@gmail.com> ---- ---