I'm trying to configure a single node Hadoop environment on my iMac 10.9.5. This has been a much larger pain than I anticipated and I have Java to thank for a lot of that. I've spent the past two hours dealing with this issue.
Error: Could not find or load main class com.sun.tools.javac.Main
I've looked at the JDK8 docs and a ton of forums searching for the reason and have narrowed it down to two.
- When I installed JDK8, something went wrong and it wasn't included in the install.
- For whatever reason, tools.jar isn't in reaching distance of JAVA_HOME. This will require to find out the path for tools.jar in Java8 and link to JAVA_HOME, which I haven't been able to find.
I would really like a better understand of what is going wrong and why. Also, the path to tools.jar would be really useful!
Thanks!