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

Sylvestre Ledru sylvestre.ledru at scilab-enterprises.com
Sat Jun 30 17:29:35 CEST 2012


Le 27/06/2012 11:53, Laurent a écrit :
> Hi
>
> I try to start Scilab from a C++ program (using call_scilab) after a first
> execution, ie:
>
> StartScilab(path, 0, 0);
> TerminateScilab(0);
> StartScilab(path, 0 ,0);
>
> On the second call to StartScilab, it triggers the following error: "Scilab
> ne peut pas ouvrir la bibliothèque JVM" ("Scilab cannot open JVM library" in
> english).
>
> I load the call_scilab DLL and retrieve its function pointers dynamically,
> if it makes a difference.
It is not the source of the issue.
> Is there any way to solve this problem?
>
Please report a bug. It seems to be that the JVM runtime is not totaly
cleared when called with call_scilab (it works with Javasci)

Thanks
Sylvestre




More information about the dev mailing list