To see further questions, visit the following pages:
Several packages can be downloaded from the Marvin site:
Download and unpack:
zip: unzip marvin-all-3.3.2.zip tar.gz: gunzip < marvin-all-3.3.2.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-3.3.2.zip tar.gz: gunzip < marvin-all-3.3.2.tar.gz | tar xf -This distribution contains all files necessary for using MarvinSketch and MarvinView applets, as well as the documentation and examples.
marvintmp
chemaxon directory and marvin.jar
into marvintmp .
cd marvintmp
marvin.jar .
zip marvin.jar chemaxon/ *.class
marvin.jar file will contain the required modules for
the AWT version of Marvin applets.
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.
Some mozilla-based browsers (e.g. Netscape 4.7) treat
.jar
files as text files, therefore these files can
be corrupted during the downloading process..jar files by right clicking on the file's
link and select "save as" (or "save link target as") from the pop up menu.
These browsers do not include any Java. They require Java Runtime Environment (JRE) 1.4.2 or later.
/usr/lib/mozilla-X.Y.Z directory
(where X.Y.Z is the version number of the browser.
E.g.: /usr/lib/mozilla-1.2.1).plugin subdirectory of the browser.
cd <MOZILLA_HOME>/pluginWhere
<MOZILLA_HOME> is the home directory of the browser.
root account) has got a write permission for this directory. If you have got
permission problems please consult with your system administrator.ln -s <JRE_HOME>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so libjavaplugin_oji.soWhere
<JRE_HOME> is the home directory of the JRE.
E.g.: /usr/java/j2sdk1.4.2/jre
Netscape 6 and Netscape 7.0 contain a built-in Java to run applets. If your browser does not include any Java or you would like set a new default, do the following. (These browsers accept both 1.3.x and java 1.4.x.)
ln -s <JRE_HOME>/plugin/i386/ns600/libjavaplugin_oji.so libjavaplugin_oji.so
Where <JRE_HOME> is the home
directory of the required Java Runtime Environment.
In a few cases, the browser can not recognize Java plug-in although you have created the
libjavaplugin_oji.so symbolic link in the plugin directory.
In that case, add a new symbolic link (libjavaplugin_oji140.so) to the
plugin directory.
Then restart the browser.
ln -s <JRE_HOME>/plugin/i386/ns600/libjavaplugin_oji.so libjavaplugin_oji140.so
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.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
CODEBASE attribute of the OBJECT tag refers to a
nonsecure 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.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".