File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Getting problem while installing and checking groovy

 
srinivas chintala
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Iam new to groovy. i have groovy with virtion groovy-src-2.1.0-beta-1.
I set the environment variables like below

JAVA_HOME -----> C:\Program Files (x86)\Java\jdk1.6.0_22;.
GROOVY_HOME ------->C:\Groovy;.
path ------------>C:\Program Files (x86)\Java\jdk1.6.0_22\bin;C:\Groovy\groovy-src-2.1.0-beta-1\groovy-2.1.0-beta-1\src\bin;

while typing the groovy command iam getting the following error that

ERROR: JAVA_HOME is set to an invalid directory: C:\Program Files (x86)\Java\jdk
1.6.0_22;.
Please set the JAVA_HOME variable in your environment
to match the location of your Java installation.

I cant understand the error. Please give me the suggetion


Thanks
Srinivas
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have quotes around the path in JAVA_HOME? Since it has spaces in it, this could cause problems.
 
srinivas chintala
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didnt give any qoutes at path of java_home environment variable. Java installed path is C:\Program Files (x86)\Java\jdk1.6.0_22\bin.

For smooth execution of groovy what i need to do?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic