Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8226870

OpenJDK 8u JRE contains clhsdb and hsdb launchers

XMLWordPrintable

    • b01
    • generic
    • generic

      Since JDK-8059038 has been backported to JDK 8u, the j2re-image, has the following in folder 'bin':

      $ ls bin/
      clhsdb hsdb java jjs keytool orbd pack200 policytool rmid rmiregistry servertool tnameserv unpack200

      This is wrong, clhsdb and hsdb shouldn't be there for JRE as they don't work anyway:

      $ ./bin/clhsdb
      Error: Could not find or load main class sun.jvm.hotspot.CLHSDB
      $ ./bin/hsdb
      Error: Could not find or load main class sun.jvm.hotspot.HSDB

      They rely on sa-jdi.jar, which isn't built for j2re-image. These launchers need to be filtered for the JRE case.

            sgehwolf Severin Gehwolf
            sgehwolf Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: