[Biojava-l] BioJava Installation Problems

Jason Hicks jhicks@graduates.iti.com
Thu, 16 Aug 2001 18:03:40 -0300


I am a new user of BioJava and have encountered some installation problems.

I am running Windows ME and have successfully installed JDK1.3.1 - I compiled and ran a small Java program (Hello World!). I have successfully added the biojava, xerces and bytecode Jar files to my Classpath and have download BioJava 1.10. I am interested in parsing Blast reports so I attempted to compile the tutorialex1.java file found in the eventbasedparsing folder in demos.

The follow errors are produced:

D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:4: cannot resolve symbol
symbol  : class ContentHandler  
location: package sax
import org.xml.sax.ContentHandler;
                   ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:5: cannot resolve symbol
symbol  : class XMLReader  
location: package sax
import org.xml.sax.XMLReader;
                   ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:6: cannot resolve symbol
symbol  : class SAXException  
location: package sax
import org.xml.sax.SAXException;
                   ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:7: cannot resolve symbol
symbol  : class InputSource  
location: package sax
import org.xml.sax.InputSource;
                   ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:11: cannot resolve symbol
symbol  : class BlastLikeSAXParser  
location: package sax
import org.biojava.bio.program.sax.BlastLikeSAXParser;
                                   ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:57: cannot resolve symbol
symbol  : class XMLReader  
location: class eventbasedparsing.TutorialEx1
	XMLReader oParser = (XMLReader) new BlastLikeSAXParser();
        ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:57: cannot resolve symbol
symbol  : class XMLReader  
location: class eventbasedparsing.TutorialEx1
	XMLReader oParser = (XMLReader) new BlastLikeSAXParser();
                             ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:57: cannot resolve symbol
symbol  : class BlastLikeSAXParser  
location: class eventbasedparsing.TutorialEx1
	XMLReader oParser = (XMLReader) new BlastLikeSAXParser();
                                            ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:71: cannot resolve symbol
symbol  : class ContentHandler  
location: class eventbasedparsing.TutorialEx1
	ContentHandler oHandler  = 
        ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:72: cannot resolve symbol
symbol  : class ContentHandler  
location: class eventbasedparsing.TutorialEx1
	    (ContentHandler) new TutorialEx1Handler(oDatabaseIdList);
             ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:72: cannot resolve symbol
symbol  : class TutorialEx1Handler  
location: class eventbasedparsing.TutorialEx1
	    (ContentHandler) new TutorialEx1Handler(oDatabaseIdList);
                                 ^
D:\BioJava\biojava-1.10\demos\eventbasedparsing\TutorialEx1.java:90: cannot resolve symbol
symbol  : class InputSource  
location: class eventbasedparsing.TutorialEx1
	     oParser.parse(new InputSource(oInputFileStream));
                               ^
12 errors

Tool completed with exit code 1 


I have tried other demo files with similar results. Does anyone have any suggestions as to what I could be doing wrong? Thanks for your help, Jason.