Hi,

"major.minor version 49.0" indicates that the bytecode is for a Java
1.5 or later. The error (should) mean the code is being loaded by a vm
pre-1.5.
Do you have (somewhere) a JRE on your machine which is pre-1.5?
If you just type "java" on the command-line windows (and cygwin
respectively) will execute a java.exe which is located in
"WINDOWS/system32".
What happens if you type (in cygwin) "$JAVA_HOME/bin/java -version"?
You can try to define a variable NUTCH_JAVA_HOME, which overrides
JAVA_HOME (nutch will use NUTCH_J_H instead of JAVA_HOME).


Greetings,

Martin


On Dec 28, 2007 4:43 PM, POIRIER David <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Using: Nutch 0.9
>
> I'm trying to run the bin/nutch command using cygwin. The message I
> receive is:
>
> Chargement de la classe java impossible.
> java.lang.UnsupportedClassVersionError:
> org/apache/hadoop/util/PlatformName (Unsupported major.minor version
> 49.0)
> Chargement de la classe java impossible.
> java.lang.UnsupportedClassVersionError: org/apache/nutch/crawl/Crawl
> (Unsupported major.minor version 49.0)
>
> When I check my version of Java using the jkava -version command:
>
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
>
> My JAVA_HOME is equal to:
> /cygdrive/c/path/to/Java1.5
>
> Any idea?
>
> Thank you and a happy new year to everybody?
>
> David
>

Reply via email to