One of the stages of re-branding all Sun's products into Oracle's products was to change the value of the Company Name parameter for the java.exe file, which was done in Java SE 6u21.
After the new version was posted on java.sun.com, we received many statements that the new changes affected the work of Eclipse users under Windows. All data and workaround problems were immediately noted on the Eclipse site, but the avalanche-like distribution of the new version affected more and more new users. Understanding this, as well as considering the wishes of Eclipse and many thousands of Oracle users, restored the values of the Company Name parameter on “Sun Microsystems”.
')
The changes affected only the Windows version, while the Solaris and Linux versions worked fine. In order for this to work in Windows, a new build was released, in which the version was changed from 6u21-b06 to 6u21-b07. Under Solaris and Linux, build 6u21-b06 was still delivered.
The engineering department notes that: in Java, the values of java.vendor and java.vm.vendor will not change in any of the jdk6 releases and will still look like “Sun Microsystems, Inc.”. It was found that the name of the supplier critically affects the performance of a number of programs. And in Windows, the problem was the “COMPANY” field that was explicitly specified for exe / dll, which was the source of the problem. In general, for us it was a big surprise that someone at all is tied to such parameters. Given this, for the jdk6 releases, the COMPANY field has been restored. But in jdk7 releases, there will be a final change to all parameters pointing to the company name, including java.vendor and java.vm.vendor.
C:\> java -version
java version “1.6.0_21″
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) 64-Bit Server VM (build 17.0-b17, mixed mode)
Source: https://habr.com/ru/post/101847/
All Articles