[Biojava-l] can use biojava in JApplet?
Richard HOLLAND
hollandr at gis.a-star.edu.sg
Mon Jan 10 20:07:29 EST 2005
Sounds like a classpath problem. You need to include the biojava.jar
file either in the same folder as the applet, or in the global java
resources (something like /usr/java/lib/ext) on the server the applet is
hosted on. Just using individual class files will not work as there are
many interdependencies.
Richard Holland
Bioinformatics Specialist
GIS extension 8199
---------------------------------------------
This email is confidential and may be privileged. If you are not the
intended recipient, please delete it and notify us immediately. Please
do not copy or use it for any purpose, or disclose its content to any
other person. Thank you.
---------------------------------------------
> -----Original Message-----
> From: biojava-l-bounces at portal.open-bio.org
> [mailto:biojava-l-bounces at portal.open-bio.org] On Behalf Of
> Guanhong Hu
> Sent: Monday, January 10, 2005 11:59 PM
> To: biojava-l at biojava.org
> Subject: [Biojava-l] can use biojava in JApplet?
>
>
> HI,
> I am new to biojava. I develped a small java application by
> using some
> biojava modules. It runs O.K. But when I convert this
> application to a
> JApplet , it compiles O.K. , but when I use appletviewer to
> test it, it
> gave out the following error message:
> java.lang.NoClassDefFoundError:
> org/biojava/bio/symbol/IllegalSymbolException
> at java.lang.Class.getDeclaredConstructors0(Native Method)
> at
> java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
> at java.lang.Class.getConstructor0(Class.java:1922)
> at java.lang.Class.newInstance0(Class.java:278)
> at java.lang.Class.newInstance(Class.java:261)
> at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
> at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
> at sun.applet.AppletPanel.run(AppletPanel.java:298)
> at java.lang.Thread.run(Thread.java:534)
> and the applet not initialized.
>
> I don't know what's wrong. Can biojava be used in JApplet???
>
> Any reply is great appreciated.
>
> Thanks
>
> Guanhong
>
> _______________________________________________
> Biojava-l mailing list - Biojava-l at biojava.org
> http://biojava.org/mailman/listinfo/biojava-l
>
More information about the Biojava-l
mailing list