A problem occurred:
Use Java-jar Xxx.jar -server-xms900m-xmx900m or java-server-version to prompt for errors
Error:no ' server ' JVM at ' C:\ProgramFiles\Java\jre6\bin\server\jvm.dll '.
Workaround
Copy ' server ' folder from the JDK ' s JRE ' s bin folder (Example:c:\program files\java\jdk1.6.0\jre\bin\server)
Paste the ' server ' folder to JRE ' s Bin folder (Example:c:\programfiles\java\jre1.6.0\bin)
Cause Analysis:
The approximate reason is that the environment variable is not properly configured, resulting in (registry lookup or otherwise) using Java under C:\ProgramFiles\Java\jre6\bin. And the JRE has only client, no server item Oh ....
Http://www.cnblogs.com/newskysoft/archive/2010/04/23/1718720.html
Approximate reason:
Because of the setting in the Computer environment variable (default), you call the Java.exe in C:\Windows\System32, and there is no JRE in both your own directory and the parent directory, so you find the C:\Program in the registry files\ The JRE in Java, but because it does not have servervirtual machine so you input java-server of course to error, but if you first input: Path=c:\jdk\bin Then you are calling the Java.exe in the JDK, and you are using the JRE below the JDK. It contains Java server virtualmachine, of course, after you enter: Java-server-version and see the beginning of the result
Transferred from: http://blog.sina.com.cn/s/blog_56d8ea9001018c7r.html
"Go" error:no ' server ' JVM at ' C:\Program files\java\jre6\bin\server\jvm.dll '. Workaround