JChemPaint / jchempaint

Chemical 2D structure editor application/applet based on the Chemistry Development Kit
http://jchempaint.github.com
110 stars 34 forks source link

Viewer Applet does not Work #176

Open kienerj opened 11 years ago

kienerj commented 11 years ago

Viewer applet does not work. i have no issue with the editor applet but when I replace

code="org.openscience.jchempaint.applet.JChemPaintEditorApplet"

with

code="org.openscience.jchempaint.applet.JChemPaintEditorApplet"

I get a ClassNotFoundException.

html:

<applet code="org.openscience.jchempaint.applet.JChemPaintViewerApplet"
        archive="/resources/JChemPaintApplet/jchempaint-applet-core.jar"
        name="Viewer"
        width="500" height="400">

    <param name="implicitHs"      value="true">
    <param name="codebase_lookup" value="false">
    <param name="image"           value="images/spinner.gif">
    <param name="centerImage"     value="true">
    <param name="boxBorder"       value="false">
    <param name="language"        value="en">
</applet>

Again, archive path is correct as Editor applet works correctly!!! The weird thing is that the referenced jar does only contain JChemPaintViewerApplet but yet that doesn't work and JChemPaintEditorApplet which is missing does work???

Also JChemPaintEditorApplet checksum is missing in manifest and JChemPaintEditorApplet while that of the viewer applet is there.