Could not find or load main class org.apache.cassandra.tools.NodeCmd
I could not find anything so here is a quick fix:
nano `which nodetool`
/* replace */
for include in "`dirname "$0"`/cassandra.in.sh" \
/* with */
for include in "$HOME/.cassandra.in.sh" \
And then nodetool should work like a charm.
Update: The same trick works when cassandra-cli throws
Error: Could not find or load main class org.apache.cassandra.cli.CliMain