Linkage Error regarding JAXB

22 views
Skip to first unread message

Oliver Ruebenacker

unread,
Jul 19, 2010, 10:31:09 AM7/19/10
to cytoscap...@googlegroups.com
Hello,

I am intending to develop a plugin for Cytoscape 2.7.0 with Eclipse
and as a first step tried to get Cytoscape itself started from
Eclipse. I tried two different ways: (1) Linking an empty project to
the installation JAR files, and (2) importing the Cytoscape source
code. Each time, I can start Cytoscape just fine (starting from
cytoscape.CyMain), but when I select the menu item File > Import >
Network (Multiple File Types) ... (alternatively, press Control-L),
nothing happens except the following exception is thrown:

Exception in thread "AWT-EventQueue-0" java.lang.LinkageError: JAXB
2.0 API is being loaded from the bootstrap classloader, but this RI
(from jar:file:/home/oliver/vcell/VCy/lib/jaxb-impl.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class)
needs 2.1 API. Use the endorsed directory mechanism to place
jaxb-api.jar in the bootstrap classloader. (See
http://java.sun.com/j2se/1.5.0/docs/guide/standards/)

I tried to move jaxb-api to the top of the build path order and I
tried using a property file to make "lib" an endorsed directory, but
nothing changed.

Any idea? Thanks!

Take care
Oliver

--
Oliver Ruebenacker, Computational Cell Biologist
Systems Biology Linker at Virtual Cell (http://vcell.org/sybil)
Turning Knowledge Data into Models
Center for Cell Analysis and Modeling
http://www.oliver.curiousworld.org

Oliver Ruebenacker

unread,
Jul 19, 2010, 3:41:37 PM7/19/10
to cytoscap...@googlegroups.com
Hello,

I solved that problem by updating mu Java Runtime Environment.

Take care
Oliver

Reply all
Reply to author
Forward
0 new messages