[Biojava-dev] installing Biojava
Te-yuan Chyou
chyte374 at student.otago.ac.nz
Tue Nov 22 03:03:22 EST 2005
Hi:
I'm trying to install Biojava onto MacOS following informations in the
"Getting Started" section of the Biojava website, by putting the following
jar files:
biojava.jar
commons-cli.jar
commons-collections-2.1.jar
commons-dbcp-1.1.jar
commons-pool-1.1.jar
bytecode-0.92.jar
into the directory
Macintosh HD/System/Library/Java/Extensions
Then, while trying to compile the demo code "TestEmbl.java" I get 15
errors and looks like the computer cannot find the packages in Biojava.
I didn't set the CLASSPATH because the website says "It is also possible
to "install" JAR files onto your system by copying them...".
Could anyone tell me what else I missed out? A step-by-step istallation
guide may be helpful also.
Thanks
Te-yuan (David) Chyou
I attached the error messages I get below:
ou003153:~ davidchyou$ javac Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:5: package org.biojava.bio
does not exist
import org.biojava.bio.*;
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:6: package
org.biojava.bio.symbol does not exist
import org.biojava.bio.symbol.*;
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:7: package
org.biojava.bio.seq does not exist
import org.biojava.bio.seq.*;
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:8: package
org.biojava.bio.seq.io does not exist
import org.biojava.bio.seq.io.*;
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:18: cannot resolve symbol
symbol : class SequenceFormat
location: class seq.TestEmbl
SequenceFormat eFormat = new EmblLikeFormat();
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:18: cannot resolve symbol
symbol : class EmblLikeFormat
location: class seq.TestEmbl
SequenceFormat eFormat = new EmblLikeFormat();
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:21: cannot resolve symbol
symbol : class SequenceBuilderFactory
location: class seq.TestEmbl
SequenceBuilderFactory sFact = new
EmblProcessor.Factory(SimpleSequenceBuilder.FACTORY);
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:21: package EmblProcessor
does not exist
SequenceBuilderFactory sFact = new
EmblProcessor.Factory(SimpleSequenceBuilder.FACTORY);
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:21: cannot resolve symbol
symbol : variable SimpleSequenceBuilder
location: class seq.TestEmbl
SequenceBuilderFactory sFact = new
EmblProcessor.Factory(SimpleSequenceBuilder.FACTORY);
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:22: cannot resolve symbol
symbol : class Alphabet
location: class seq.TestEmbl
Alphabet alpha = DNATools.getDNA();
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:22: cannot resolve symbol
symbol : variable DNATools
location: class seq.TestEmbl
Alphabet alpha = DNATools.getDNA();
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:23: cannot resolve symbol
symbol : class SymbolTokenization
location: class seq.TestEmbl
SymbolTokenization rParser = alpha.getTokenization("token");
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:24: cannot resolve symbol
symbol : class SequenceIterator
location: class seq.TestEmbl
SequenceIterator seqI =
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:25: cannot resolve symbol
symbol : class StreamReader
location: class seq.TestEmbl
new StreamReader(eReader, eFormat, rParser, sFact);
^
Desktop/Biojava-1.4.1/demos/seq/TestEmbl.java:28: cannot resolve symbol
symbol : class Sequence
location: class seq.TestEmbl
Sequence seq = seqI.nextSequence();
^
15 errors
ou003153:~ davidchyou$
More information about the biojava-dev
mailing list