I tried to run ./hadoop start-all.sh
Unfortunately this error is thrown

```
Exception in thread "main" java.lang.NoClassDefFoundError: start/all/sh
Caused by: java.lang.ClassNotFoundException: start.all.sh
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: start.all.sh. Program will exit.

```

I though it might have been the hadoop path but that does not seem to fix the issue. The path that i set in the hadoop-env.sh is /usr/local/hadoop/bin`. 

I looked at other posts with simular titles
[Hadoop: strange ClassNotFoundException](https://stackoverflow.com/questions/10976846/hadoop-strange-classnotfoundexceptionsolved)

what is considered the main class. I tried changing the path to /usr/local/hadoop/bin/