[Biojava-l] NoClassDefFoundError

Richard Holland holland at eaglegenomics.com
Sun Mar 29 20:16:25 UTC 2009


It means that the version of the Java compiler (or the compatibility
flag used on the compiler) that was used to compile the BioJava JARs you
are using is newer than the version of Java available on the machine you
are trying to run the program on! You need to either upgrade Java on the
target machine, or compile BioJava from source on the target machine.

Charles Imbusch wrote:
> Hello,
> 
> thanks everybody for the replies! In fact I did not copy the dist
> directory to the other machine,
> so the libraries needed were not found.
> 
> Now, I'm almost there, when I want to start the program, I get this
> message:
> 
> charles at nougat:~/dist$ java -jar MPI.jar
> Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
> version number in .class file
> [...]
> 
> Google has a a lot of information to this. Probably the java version on
> the machine is to old.
> I think I can handle this.
> 
> Cheers,
>  Charles
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biojava-l
> 

-- 
Richard Holland, BSc MBCS
Finance Director, Eagle Genomics Ltd
T: +44 (0)1223 654481 ext 3 | E: holland at eaglegenomics.com
http://www.eaglegenomics.com/



More information about the Biojava-l mailing list