[Scilab-Dev] Re: "Cannot open JVM library" when starting Scilab twice

Sylvestre Ledru sylvestre.ledru at scilab-enterprises.com
Mon Jul 2 13:45:50 CEST 2012


Le 02/07/2012 11:16, Laurent a écrit :
> Thanks for your reply.
>
> I've reported the bug on the tracker:
> http://bugzilla.scilab.org/show_bug.cgi?id=11394
>
> Until it's fixed, is there any workaround that I could use to allow Scilab
> to be executed more than once?

Yes, instead of
    BOOL StartScilab(char *SCIpath, char *ScilabStartup, int Stacksize);
use
    int Call_ScilabOpen(char* SCIpath, BOOL advancedMode, char
*ScilabStartup, int Stacksize);

and set the advancedMode argument to FALSE. (I tested this workaround
and it tackles the issue).

If you don't need the graphic features. Otherwise, you will have to wait
for a fix (or provide a patch ;)

Sylvestre




More information about the dev mailing list