[Biojava-l] can't compile GCContent
June Tantoolvesm
june9876@yahoo.com
Sat, 23 Feb 2002 06:57:17 -0800 (PST)
Hello,
I hope this hasn't already been answered in the mail
archive, but if it has I couldn't find it, sorry. I tried
to compile the first example in the tutorial (GCContent),
and I get the following error:
GCContent.java [23:1] Incompatible type for =. Can't
convert Sequence to Sequence.
Sequence seq = stream.nextSequence();
^
GCContent.java [25:1] No method found matching length()
for (int pos = 1; pos <= seq.length(); ++pos) {
^
GCContent.java [26:1] No method found matching
symbolAt(int)
Symbol sym = seq.symbolAt(pos);
^
GCContent.java [26:1] Cannot parse initializer
Symbol sym = seq.symbolAt(pos);
^
GCContent.java [30:1] No method found matching getName()
System.out.println(seq.getName() + ": " +
^
GCContent.java [31:1] No method found matching length()
((gc * 100.0) /
seq.length()) +
^
6 errors
==============================
I have downloaded
biojava-1.20.jar
bytecode-0.90.jar
jakarta-regexp.jar
xerces.jar
and placed them in c:\biojava\
My classpath is
CLASSPATH=C:\biojava\biojava-1.20.jar;C:\biojava\bytecode-0.90.jar;C:\biojava\xerces.jar;.
I am using Windows 2000.
Thanks.
June
=====
Spelling inspected prior to transmission. Any errors occured en route.
----------------------------------
Working to protect human rights worldwide
Amnesty International on-line http://www.amnesty.org/
__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com