[Biojava-l] Problems for testing demos

chen li chen_li3 at yahoo.com
Thu May 18 21:35:10 UTC 2006


Dear all,

I  am new to Biojava. I install 
1) JDk on my Windows XP under c:\Program
Files\java\.....,
 2)  biojava.jar, bytecode-0.92.jar,
 commons-cli.jar,  commons-collections-2.1.jar
 commons-dbcp-1.1.jar, commons-pool-1.1.jar all under
c:\biojava folder. Then I go to >demos>seq and type
javac  TestEmbl.java I get some information on the
screen. After searching google  I put all *.jar files
into this folder:

C:\Program Files\Java\jdk1.5.0_06\jre\lib\ext

I compile the code again:

go to >demos>seq and type

javac  TestEmbl.java 

and I get a new file and looks like it works:

 TestEmbl.class

Then I type 

java TestEmbl

I get these infomration on the screen:

Exception in thread "main"
java.lang.NoClassDefFoundError: TestEmbl (wrong name:
seq/TestEmbl)
        at java.lang.ClassLoader.defineClass1(Native
Method)
        at java.lang.ClassLoader.defineClass(Unknown
Source)
        at
java.security.SecureClassLoader.defineClass(Unknown
Source)
        at java.net.URLClassLoader.defineClass(Unknown
Source)
        at java.net.URLClassLoader.access$100(Unknown
Source)
        at java.net.URLClassLoader$1.run(Unknown
Source)
        at
java.security.AccessController.doPrivileged(Native
Method)
        at java.net.URLClassLoader.findClass(Unknown
Source)
        at java.lang.ClassLoader.loadClass(Unknown
Source)
        at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown
Source)
        at java.lang.ClassLoader.loadClass(Unknown
Source)
        at
java.lang.ClassLoader.loadClassInternal(Unknown
Source)

I am not sure how to fix it. I search Biojava archies
but get no answers. Any idea will be aprreciated.

Li

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the Biojava-l mailing list