Tuesday, 29 December 2009

Getting "No server JVM" exception while using STS's Eclipse-Grails plugin

If you are using STS's Grails Eclipse plugin and receive an exception like:

Error: No 'server' JVM at ...

this is mainly because of Eclipse instance's "Installed JREs" setting is pointing a JRE not a JDK. There two possible solutions for this error:
  • Select a JDK directory for "Installed JREs" setting
  • Copy "/jre/bin/server" directory from a JDK installation to "/jre/bin" directory of a JRE installation

2 comments:

  1. Great stuff, thanks for this.. fixed the problem perfectly...

    ReplyDelete