区别:Client启动快些,Server版进行了优化,运行会快一些,但启动会慢些。
查看当前JVM版本:java -version
位置:jre/bin/server jre/bin/client 两个jvm文件大小都不一样。
如果没有指定JVM版本,会自动根据OS和硬件环境进行识别。windows下默认是client,Unix下,会进行Server-Class Machine Detection,官方描述参考:http://download.oracle.com/javase/1.5.0/docs/guide/vm/server-class.html
其中一条Note: For J2SE 5.0, the definition of a server-class machine is one with at least 2 CPUs and at least 2GB of physical memory.
标签:bin,jre,least,server,client,JVM From: https://blog.51cto.com/u_16245757/7350854