[Biojava-l] can't compile GCContent

June Tantoolvesm june9876@yahoo.com
Sat, 23 Feb 2002 18:28:21 -0800 (PST)


Hi,

Silly me, it works now. Apparently I have to compile it
from the command line, I was compiling it from Forte
before. Well, actually I don't understand why the change
works but...oh well.

Thanks for your help though. =)
June


--- David Huen <smh1008@cus.cam.ac.uk> wrote:
> On Sat, 23 Feb 2002, June Tantoolvesm wrote:
> 
> > 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()) + 
> >                                                    ^
> Seems not to be finding the biojava jar.
> 
> > 
> > My classpath is
> > 
> >
>
CLASSPATH=C:\biojava\biojava-1.20.jar;C:\biojava\bytecode-0.90.jar;C:\biojava\xerces.jar;.
> > 
> I don't use Windows regularly enough to recall correctly
> but is the
> separator in the CLASSPATH ";" rather than the ":" used
> in Linux?
> 
> If there's something equivalent to:-
> echo $CLASSPATH
> 
> it might be useful to check that it is really set.
> 
> Hope someone using Windows will be able to clarify.
> 
> Which Java are you using?
> 
> Regards,
> David Huen
> 
> 
> _______________________________________________
> Biojava-l mailing list  -  Biojava-l@biojava.org
> http://biojava.org/mailman/listinfo/biojava-l


=====
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