Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2261

Make service.bat compatible with JDK11+

    XMLWordPrintableJSON

Details

    Description

      service.bat fails to start TomEE as a service on Windows 2012 R2, at least, while using OpenJDK 11.

      Upon further analysis, The issue was found to be the absence of a jdk\jre folder inside OpenJDK 11 and the use of the endorsed property.

      We need to upgrade the file to make it compatible with newer JDK versions.

      The batch file has to be, either improved by considering the different Java versions, or duplicated by keeping the current one and adding a new one for JDK 11+.

      Attachments

        Activity

          People

            jgallimore Jonathan Gallimore
            brunobat Bruno Baptista
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: