Depends what you mean by 'installed biojava'. Have you tried running this command:
java -jar MPI.jar -cp /path/to/biojava.jar If that works, then the problem will be that your biojava.jar is not installed in the correct location for java to pick it up system-wide. Compiling the demos does not rely on having jars installed as it picks everything up from inside the biojava source distribution. cheers, Richard Charles Imbusch wrote: > Hello, > > I'm using Netbeans and Biojava on my Laptop. Netbeans creates a jar file > for my project and I can successfully execute it. > > Now I would like to execute the java code on another machine. I > installed Biojava on > that machine as well and copied the jar file to it. > > But I get an error message like this: > > char...@nougat:~$ java -jar MPI.jar > Exception in thread "main" java.lang.NoClassDefFoundError: > org/biojava/bio/BioException > > I checked my installation (on nougat ) and tried to compile one of the > example files provided in the > demo folder of the Biojava distribution. The compilation worked out. > > No I'm really wondering what can cause that error. > > Any answer is appreciated. > > Cheers, > Charles > _______________________________________________ > Biojava-l mailing list - [email protected] > 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: [email protected] http://www.eaglegenomics.com/ _______________________________________________ Biojava-l mailing list - [email protected] http://lists.open-bio.org/mailman/listinfo/biojava-l
