This week's book giveaway is in the Beginning Java forum.
We're giving away four copies of Get Programming with Java (MEAP only) and have Peggy Fisher on-line!
See this thread for details.
Win a copy of Get Programming with Java (MEAP only) this week in the Beginning Java 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
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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
Not so fast naughty spawn! I want you to know about
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!