OpenJDK default options to always use the server VM
Posted
by
montrealmike
on Ask Ubuntu
See other posts from Ask Ubuntu
or by montrealmike
Published on 2012-10-08T20:56:55Z
Indexed on
2012/10/08
21:50 UTC
Read the original article
Hit count: 250
I got a warning message:
jvm uses the client vm, make sure to run
java
with the server vm for best performance by adding-server
to the command line
In fact, when i run java -version i get:
OpenJDK Runtime Environment (IcedTea7 2.3.2) (7u7-2.3.2a-0ubuntu0.12.04.1)
OpenJDK Client VM (build 23.2-b09, mixed mode, sharing)
How does one go about and change OpenJDK's defaults to always start under the server VM?
© Ask Ubuntu or respective owner