Hi Christian,

I have tried other .jar files and I still get the same nil cant find class
error. It will init but that is it. This is the code I am using:

  const JNI_VERSION_1_1 = &h00010001
  const JNI_VERSION_1_2 = &h00010002
  const JNI_VERSION_1_4 = &h00010004


  dim options(-1) as string
  dim f as FolderItem=GetFolderItem("Equity.jar")
  dim jclass as JavaClassMBS

  vm=new JavaVMMBS(JNI_VERSION_1_4, options, f, false)

  if vm.Handle = 0 then
    MsgBox "Can't create Java VM"
  else
    MsgBox "Java Initialized."
  end if

  jclass=vm.FindClass("RunEquity")

  if jclass=nil then msgbox "Can't find it" else msgbox "I found it"


any other ideas would be appreciated.

Thanks
>
> Am 14.01.2013 um 20:51 schrieb [email protected]:
>
>> Hello,
>>
>> I am currently using the shell command to run a java .jar file but it is
>> very slow. It is any faster to use the MBS plugin and have it embedded
>> in
>> my program?
>
>
> Well, you can load classes from jar file with our plugins and call
> methods.
>
> Not sure if that will be faster.
>
> Greetings
> Christian
>
> --
> Read our blog about news on our plugins:
>
> http://www.mbsplugins.de/
>
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
>


_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to