On checking with java -version get the output as
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
Wants to ensure this openjdk binary is from oracle or redhat. While checking on JMX VM Summary page it shows the Vendor name as "Oracle Corporation". Does this mean its oracle provided openjdk distribution ?
What should be the vendor name for RedHat OpenJDK distribution ?
In general,
java -version
from Oracle's builds sayInstead of
The
java.vendor
system property, unfortunately, has compatibility issues. It can't be changed without (potentially) breaking users.For example, changing that property from
Sun
toOracle
once broke eclipse: https://it.slashdot.org/story/10/07/28/2121259/oracles-java-company-change-breaks-eclipseSo OpenJDK distributors are very very cautious about changing these vendor properties. Pretty much everyone will stick to the default values for pretty much all the system properties.
If you have installed OpenJDK on RHEL and you are using the
java-*-openjdk
packages, those have been built and are being maintained by Red Hat. You can find out what package that is by using rpm:If you see
java-1.8.0-openjdk-headless
, that's the package maintained by Red Hat.