On Mar 5, 2009, at 4:12 PM, Jim Van Sciver wrote:
Hello all, newbie question alert.
I have been using Nutch 0.9 and want to try out versions on the trunk.
To do this I have installed the latest build, #743 March 5 2009, and
made the small number of necessary changes for a trial run:
- add my organization name to conf/nutch-default.xml file
- add single domain name to conf/crawl-urlfilter.txt (this is an
intranet crawl)
- create a single entry urls.txt file
Then I run the nutch crawl command with depth 2 (first trial run) and
get a stack dump. (See below).
I feel that I've missed something in the installation. Could someone
tell me what? Many thanks.
----------------------------------------------------------------------
-------------------------------------
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass
(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:
268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:
319)
You need to be using Java 6. Hadoop 0.19 requires it.
Eric
--
Eric J. Christeson
<[email protected]>
Enterprise Computing and Infrastructure (701) 231-8693 (Voice)
North Dakota State University