Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

64bit Groovy

 
Chris Bohannon
Greenhorn
Posts: 8
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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?

Thanks!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
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.
 
Chris DeLashmutt
Greenhorn
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 http://jira.codehaus.org/browse/GROOVY-3382.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic