Hi: I have got the same error. And I installed jdk 1.6, then it works.
It seems a bit weird because I see the javac requirement in the build.xml is 1.5 but it broke. I guess maybe hadoop jar was compiled in java 1.6 and class compatibility is 1.6 so you can't run it in java 1.5. yanky 2009/3/25 Chris Muktar <ch...@wikijob.co.uk> > On the current nutch trunk, what is the minimum Java implementation that is > required to run it? I am currently on Sun Java 5.0 (binary JRE) and am > getting errors of the following nature. > > bin/nutch crawl urls -dir crawl -depth 3 -topN 50 > Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad > version number in .class file > etc. > > Any help much appreciated! > > Chris. >