MarvinView with Java Web Start Example
The MarvinView 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 on the graphic above 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: jnlpMime type: application/x-java-jnlp-fileApplication to use: JAVAWEBSTART_HOME/javaws/javaws
If you want to use MarvinView application from your browser, you just have to open the mview.jnlp file from your browser.
Source of mview.jnlp:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://www.chemaxon.com/marvin/"
href="http://www.chemaxon.com/marvin/examples/webstart/mview.jnlp">
<information>
<title>MarvinSketch</title>
<vendor>ChemAxon</vendor>
<homepage href="."/>
<description>Application for displaying chemical structures.</description>
<offline-allowed/>
<icon href="examples/webstart/mview64.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>
Do you have a question? Would you like to learn more? Please browse among the related topics on our support forum or search the website. If you want to suggest modifications or improvements to our documentation email our support directly!
