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

Unable to set the JAVA_HOME build path

 
James Rungering
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone. I'm currently trying to build Apache Nutch using ant on CentOS 6.3. However, when I run "ant runtime", this is what I see:


However, when I run "echo $JAVA_HOME", this is what I get:


Now, what gives? Am I not setting something correctly? Should I change something in build.xml?

Confused...
 
Vijay Vishwa
Ranch Hand
Posts: 38
1
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi James,
JAVA_HOME variable should point to jdk folder and not to the child folders.
In your case
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic