I would like to call from Java function C ++ that takes several parameters, I tried the following statement
middle = env-> GetMethodID (JDeployerClass, "positioned" "(Ljava / IO / File ;, Lorg / Glassfish / API / deployment / DeployCommandParameters;) Ljava / lang / String;");
But this is not working, is there any confusion in the above statement? What is the correct way to get the legal ID that accepts many parameters?
The signature is probably incorrect.
Try the following signature: (Ljava / io / File; Lorg / glassfish / Api / deploymentCommandParameters;) Ljava / lang / string;
which matches the following Java method:
Deploy the string (file F, deployed comma parameter P);
Comments
Post a Comment