Marvin Sketch Examples

The MarvinSketch application can be launched via the Internet using JavaTM Web Start.

If Java Web Start is not installed on your machine or there are any problems when you try to open the link, please click here to download Java Web Start.

For users of Netscape 6 and higher or Mozilla 1.x web browsers, manual configuration is also required.

Please set up the Java Web Start MIME type JNLP in the Edit->Preferences->Navigator-> Helper Applications section.
To do this:

  • Open the Edit->Preferences->Navigator->Helper Applications menu

  • Click on New Type... button and fill the fields:

    File extension:

    jnlp

    Mime type:

    application/x-java-jnlp-file

    Application to use:

    JAVAWEBSTART_HOME/javaws/javaws

If you want to use MarvinSketch application from your browser, you just have to open the msketch.jnlp file from your browser.

Source of msketch.jnlp:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://www.chemaxon.com/marvin/"
href="http://www.chemaxon.com/marvin/examples/webstart/msketch.jnlp">
<information>
<title>MarvinSketch</title>
<vendor>ChemAxon</vendor>
<homepage href="."/>
<description>Application for drawing chemical structures.</description>
<offline-allowed/>
<icon href="examples/webstart/msketch64.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.3+"/>
<jar href="lib/MarvinBeans.jar"/>
<jar href="lib/jogl.jar" download="lazy"/>
<jar href="lib/chart.jar" download="lazy"/>
<jar href="lib/batik-core.jar" download="lazy"/>
<jar href="lib/freehep-base.jar" download="lazy"/>
<jar href="lib/freehep-graphics2d.jar" download="lazy"/>
<jar href="lib/freehep-graphicsio.jar" download="lazy"/>
<jar href="lib/freehep-graphicsio-emf.jar" download="lazy"/>
<jar href="lib/freehep-graphicsio-pdf.jar" download="lazy"/>
<property name="sun.java2d.noddraw" value="true"/>
</resources>
<resources os="Windows">
<nativelib href="lib/jogl-natives-windows-i586.jar"/>
</resources>
<resources os="Linux">
<nativelib href="lib/jogl-natives-linux-i586.jar"/>
</resources>
<resources os="Mac OS X">
<nativelib href="lib/jogl-natives-macosx-ppc.jar"/>
<nativelib href="lib/jog-natives-macosx-universal.jar"/>
</resources>
 
<application-desc main-class="chemaxon.marvin.Sketch"/>
</jnlp>