This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Problem resolved. Had jre(not talking abt the jre folder in the jdk) & jdk installed for java 6.By default it picks up jre path & searches for tools.jar there.Once the jre was uninstalled,it searches for jdk & finds the tools.jar.