Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

64bit Groovy  RSS feed

Posts: 8
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am running Windows Vista Home Premium. I have downloaded and installed Groovy version 1.6.3. At the command line I enter groovysh and recieve the following error:

error: dynamic library C:\Program Files\Java\jdk1.6.0_13\jre\bin\server\jvm.dll exists but could not be loaded!
error (win code 193): (null)
error: could not find a client or server jvm under C:\Program Files\Java\jdk1.6.0_13
please check that it is a valid jdk / jre containing the desired type of jvm

Groovy seemed to install fine, however, I can't seem to get this to run. The jvm.dll does exist in the correct directory. I have also installed a 32 bit jdk as well. I have tried to change the path using groovy --javahome and the 32 bit directory but that returns the same error. Is there a way I can get this to work on a 64 bit system?

Ranch Hand
Posts: 15304
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This isn't going to be very helpful but I've been running Groovy (Java) fine on Vista 64, Windows 7 64, Ubuntu 64, and OSX. If I were you I would remove all versions of Java from your machine. Download/install the 64bit version of the latest JDK, and make sure your JAVA_HOME var points to that particular path and try again. Remember that if you modify your env variables you need a new command prompt to be opened. Existing command prompts won't pick up the changes.
Posts: 5
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The problem is that groovy has some helper EXEs that are still linked to the 32 bit version of the JVM. If you use "groovysh.bat" or "groovy.bat", you should be able to launch things successfully. There appears to be an JIRA ticket open related to this issue at
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
global solutions you can do in your home or backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!