Unable to embed msketch in an html page

User d4e43202ac

30-10-2013 17:10:06

here is configuration information (from webservices/rest-V0):


"JChem Simple Web Services"],"version":"6.1.0","
jchemVersion":"6.1.0_b624","
javaVersion":"Oracle Corporation 1.7.0_45"
,"osVersion":"Linux 3.2.0-55-generic-pae i386"
,"servletVersion":"Apache Tomcat/7.0.26, servlet 3.0","jvmUptime":"5d17h30m21s"

There are apparently issues with java 1.7.0_45.


I have the following code in an html document (trying to embed msketch so i can develop code to generate a smiles using msketch, and use it for a search and display the result with mview):


<html>
<body>

<script type="text/javascript" SRC="/home/rwharper/ChemAxon/JChem/marvin/marvin.js">
<script type="text/javascript">

msketch_begin("/home/rwharper/ChemAxon/JChem/marvin",200,200)
msketch_end();

</script>
</body>
</html>


The browser (Firefox) just displays a blank page.  Am I doing something incorrectly, or being tripped up by the java version, or ??


Thanks for any guidance you can provide.  Perhaps you can direct me to documentation or examples that I have not discovered.


CDD

User d4e43202ac

30-10-2013 17:25:15

It looks as though msketch is giving different version information.


ChemAxon 2c555f5717

05-11-2013 10:45:47

Dear  CDD!


   As I can see, you have embed the Applet locally, but from Java 1.7.0_45 you can not embed trusted applets locally. (Only with JNLP file.) You can find more information in the Java 7 update 45 release notes.


Regards:
Balázs