"Go" error:no ' server ' JVM at ' C:\Program files\java\jre6\bin\server\jvm.dll '. Workaround

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.