-
Bug
-
Resolution: Fixed
-
P4
-
openjdk8u212
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.
$ 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.
- relates to
-
JDK-8059038 Create new launcher for SA tools
- Resolved