Installation Guide to jnlp Examples¶
Below we will describe how you can create the jnlp examples for Marvin Beans.
First, take a brief view of the content of the jnlp directory.
- msketch.jnlp.txt - Template for a simple MarvinSketch
jnlpexample - mview.jnlp.txt - Template for a simple MarvinView
jnlpexample - msketch64.gif - Icon to the MarvinSketch
jnlpexample - mview64.gif - Icon to the MarvinView
jnlpexample
Step-by-step instructions are provided for configuring the above examples for running.
- First, you need a webserver (for example, Tomcat) that will hosts the
jnlpexamples. - Install Marvin Beans package to the host where the webserver is located.
- Check that the webserver can access Marvin Beans directory. (If not, please consult with the web server's manual about how to set it.)
-
In the jnlp subdirectory of the Marvin Beans directory, take a copy about each file that ends with .jnlp.txt. The new name has to be the same as the old one without the .txt postfix.
-
Modify the absolute references in the
jnlpfiles. Each occurrence of
http://www.chemaxon.com/marvin
substitute to the URL of the Marvin Beans directory. (for example,http://www.myhost.com/marvinbeans).
Now the configuration is ready (on server-side). To run the example, type the URL of the jnlp example in your browser.