User 650956287e
05-05-2011 11:33:26
Hi,
I am new to Marvin and when using the code below I get the following error. Why is this?
<script type="text/javascript">
<!--
// marvin_jvm = "builtin"; // "builtin" or "plugin"
mview_begin("../../..", 200, 200); //arguments: codebase, width, height
// you could also use the mview_begin("../../..", 200, 200, true ); function call to load the applet without splash screen.
mview_param("mol", "./test.mol");
mview_end();
//-->
</script>
User 650956287e
06-05-2011 05:05:23
User 650956287e
06-05-2011 14:07:08
Solved!! But I pasted the wrong code as well!
User d68ef9d5a9
16-05-2011 19:47:23
Would you please share with us how you fix the problem? I have the same issue, and was puzzled where to start with.
ChemAxon 7c2d26e5cf
18-05-2011 10:12:29
I also wonder what was the problem.
My assumption is the following:
When he created his own Marvin View example, he copied the applet code example from one of Marvin examples from the site. But he forgot to change the applet codebase path in the example:
mview_begin("../../..", 200, 200);
The above code expects that jars can be accessed by this relative path: ../../..
I assume that the relative path from the current document to the jar directory is differ in his case.