Can't create JVM
1 posts in topic
Flat View  Flat View

Posted By:   mohan_gandhi
Posted On:   Tuesday, April 27, 2004 12:15 AM

Hello all,

Could you please explain me that how to call java class or method from Visual Basic or VC++ application?

Actually I tried JNI to call Java class. But I got error a message. it says that cannot create Java virtual machine.
I have downloaded the example code from the following site.


Could you please provide me the solution?


Re: Can't create JVM

Posted By:   Thiyagarajan_G  
Posted On:   Thursday, April 29, 2004 06:14 AM

As far as i know using JNI you can only call other applications from Java, what you are tyring to do here is an exact opposite.

One thing you could do is to spawn a java Process from C++ and wait for the process to finish and continue with your c++ app.
About | Sitemap | Contact