No 'server' JVM at '…'

ⅰ亾dé卋堺 提交于 2019-11-28 19:18:51
indago

There is a little trick to get the server JVM up and running:

  1. Copy "server" folder from the JDK's JRE's bin folder example: C:\Program Files\Java\jdk1.6.0\jre\bin\server
  2. Paste the "server" folder to JRE's bin folder example: C:\Program Files\Java\jre1.6.0\bin
  3. Done

See official readme for details.

I've just been struggling with this same problem in Eclipse and I noted that as suggested by the answer above the JBoss site has a thread on this issue saying the same as the answer above to copy files from the jdk to the jre folder.

I noticed that you can avoid having to do this if you define the runtime to be the jdk when you create the server. I didn't find how to edit an existing server though.

jarnbjo

AFAIK, the JRE usually doesn't ship with a server VM (only the client VM). If you really need the server VM, you have to use the JDK installation.

See Oracle Java for Developers Download page for JRE's with Server VM.

I had the same problem here but, in my case, I just had not properly update the JAVA_HOME and my PATH for my recently installed JDK. I just updated it to my new JDK location and the server started just fine.

Windows looks for DLLs in LIBPATH environment variable.

And make sure your 1.6.0_21 is somewhere first in PATH.

I solved the same problem by setting the JAVA_HOME path to C:\Program Files (x86)\Java\jre1.8.0_131\bin

Make sure that server/jvm.dll file must be there when we are trying to run servers like servicemix.

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:\Program Files\Java\jre1.6.0\bin

I paced problem, I went through above..That's working fine.

Thanks!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!