[Biojava-dev] Demo Compile problem

Philip MacMenamin pm66 at nyu.edu
Wed Mar 26 17:05:53 EST 2003


Hi, 

This must be a simple enough problem. 

I have just installed bioJava on my machine. To test the installation I 
compiled the /demo/seq/TestEMBL.java, which failed because of some typo I had 
made in the CLASSPATH. The compiler said it didnt know anything about the 
classes I was trying to import. So I sorted that out, fixed the typo and 
recompiled. This time it said that:

"javac seq/TestEmbl.java seq/TestEmbl.java:28: error:Type "Sequence" is 
imported by at least two "import on demand" statements". 

So, as far as I can see BioJava is installed OK. However, something is wrong. 
I think this error is what happens when you try to do the below: 

package pkg1;
public class MyType
{
}

package pkg2;
public class MyType
{
}

import pkg1.*;
import pkg2.*;
class MyClass
{
   MyType t;
}


Now... this cant be right. Otherwise everyone on the planet would be giving 
out about it. And they are not. I have also tried other demos, and some of 
them work, most dont though. And they through up other (and similar) funny 
errors.  

So whats the story?
Much appreciated!!!
-- 
Philip 


More information about the biojava-dev mailing list