To see further questions, visit the following pages:
ChemAxon products support only Sun distributed Java. On Mac platform (where Sun Java is not available), our products support Apple's built-in Java that is compatible with Sun's distribution. Marvin applets requires at least Java 1.5.
Several packages can be downloaded from the Marvin site:
Download and unpack:
zip: unzip marvin-bin-5.0.0alpha12.zip tar.gz: gunzip < marvin-bin-5.0.0alpha12.tar.gz |tar xf -This distribution contains all files necessary for using MarvinSketch and MarvinView applets, without HTML pages and examples.
Download and unpack:
zip: unzip marvin-all-5.0.0alpha12.zip tar.gz: gunzip < marvin-all-5.0.0alpha12.tar.gz | tar xf -This distribution contains all files necessary for using MarvinSketch and MarvinView applets, as well as the documentation and examples.
The following jar files should not be modified because they are signed jars. If you do so, the modified jar is no longer signed.
marvintmp
unzip -o jmarvin.jar -d marvintmp unzip -o sjars/abbrevgroupexport.jar -d marvintmp unzip -o sjars/batik-core.jar -d marvintmp unzip -o sjars/clean2d.jar -d marvintmp ...
cd marvintmp zip jmarvin.jar *
sjars/batik-core.jar
can be skipped.
Remove chemaxon/marvin/plugin
and sjars/plugin
directories
from the marvin
directory.
cd marvin rm -r chemaxon/marvin/plugin rm -r sjars/plugin
Unzip the signed jar file into an empty directory. Delete signing
information from the META-INF
directory. Finally, create
a new jar file with the content of the directory.
For example creating the unsigned version of the the signed
jmarvin.jar
file under Linux:
unzip -d targetdir jmarvin.jar cd targetdir rm -f META-INF/CHEMCERT.* zip jmarvin.jar *Under Linux and Unix, you can run
unsigner.sh
to unsign signed
jar files in Marvin:
cd marvin ./unsigner -a
Read the following document, to check the expiration date of signing for Marvin applets: Expiration date of releases.
The following exception occurs with Marvin 5.2.x versions:
Exception in thread "AWT-EventQueue-2" java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class chemaxon.marvin.modules.GraphInvariants at chemaxon.marvin.util.MarvinModule.load(Unknown Source) at chemaxon.struc.MoleculeGraph.a(Unknown Source)
IIS servers versioned 6.0 and above serve only those files that are on the mime type list of the server or web site, but some types required by Marvin are not on the list by default.
Solution: add the following mime types in the HTTP headers tab on the properties dialog of the web site or the server:
If IIS should transfer molecule files to the clients, then the molecule file formats
should also be registered with their extension.
A few commonly used extensions and the corresponding mime types are below:
On the Java console a ClassNotFoundException is thrown, caused by an IOException which is thrown when the webserver reports an error to the GET request for the http://host.tld/appletpath/JMSketch.class
This problem occurs with Java 1.6.0_u15+ versions, if the Java cache is turned off.
The problem will no longer exist after Marvin 5.3, until that the Java cache is not suggested to be switched off.
On the Java console a ClassNotFoundException is thrown, caused by an IOException wich is thrown when the webserver reports and error to the GET request for a .class file.
This problem occurs with Java 1.6.0_u15+ versions.
The problem is caused by the 6888528 java bug. A possible solution is to clean the java cache, and redo the actions with a clean cache when this error occurs. Another solution is to turn off the "Enable the next-generation Java Plug-in" in the Java Plug-in group on the Advanced tab of the Java Control Panel.
The rotation and the linkage to the sketcher have negligible contribution to the memory footprint. The largest contributions are from
Even if we provided a "thin" applet without 3D support, it would only enable you to use about twice as many molecules. Then you would run out of memory again because of the double buffering.
You should use an n-molecule scrollable MView table instead of n applets. Then the common data will be stored in only one place (instead of n) and the number of Swing components will be equal to the number of visible molecules which is usually much smaller than n.
Your molecule string may contain consecutive space characters in applet parameters which are converted to only one space. This bug applies to Mozilla 0.9.7-1.0 and probably some earlier versions too.
See the documentation of Sun's Java: Manual Installation and Registration of Linux Plugin
The CODEBASE
attribute of the OBJECT
tag refers to a
non-secure page that the browser does not accept.
The browser downloads the plugin from this URL, if the Java Plugin is not
installed on your machine.
You should change this URL to a secure one.
http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,3,0,0
applet_begin
function).
s += ' CODEBASE=" http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,3,0,0"\n';You should replace the text with
s += ' CODEBASE=" https://<PLUGINLOCATION>/jinstall-1_4_2-windows-i586.cab#Version=1,3,0,0"\n';where
<PLUGINLOCATION>
is the new location of the
cab file (e.g.: www.my_secure_site.com/java_plugin
).
Note: The new URL must start with "https" protocol instead of "http".