I am probably doing something really stupid to get an error like this
The command I am executing is
/usr/local/hadoop/bin/hadoop com.sun.tools.javac.Main WordCount.java
The error is this(nowhere to be found on the net):
/usr/local/hadoop/bin/hadoop: line 14: public: command not found
BTW, I am following along with this tutorial(https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html#Purpose) and am having no success in compiling the WordCount class.
Please help.