Please try specifying full path of hadoop-example.jar. Usually it is located in /usr/lib/hadoop/hadoop-examples.jar. You will also need to specify the program you would like to use and arguments.
hadoop jar /usr/lib/hadoop/hadoop-examples.jar wordcount [-m ] [-r ]
Some more information can be found here:
Hope this helps,