While trying to resolve another problem, I noticed my AdoptOpenJDK JRE (build 11.0.6+10) was running in client mode on my Windows 10 desktop with 64 GB of RAM.
java.vm.name=OpenJDK 64-Bit Client VM
java.version=11.0.6
java.vendor=AdoptOpenJDK
Specifying -server
in the VM arguments did not stop it from running in client mode. (I specified -server in the vmargs section of an Eclipse RCP *.ini file.) Neither did modifying jre/lib/jvm.cfg to specify -client IGNORE
.
I was able to force it to run in server mode by removing the file jre\bin\client\jvm.dll
. That feels like a hack.
Is there a recommended way to force server mode other than -server?