wood burning stoves
The moose likes Java in General and the fly likes how to invoke jvm fro c++ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to invoke jvm fro c++" Watch "how to invoke jvm fro c++" New topic

how to invoke jvm fro c++

paulvack cork

Joined: Dec 23, 2005
Posts: 2

Can we invoke jvm from c++ programs.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
Welcome to JavaRanch.

I don't know about C++, but here are examples how to do it in C.
Aviroop Ghosh

Joined: May 17, 2005
Posts: 4
See if this is any help for you. Its a pretty involved article but frankly did not have the time to try it out completely
Accessing Java from C++

u johansson
Ranch Hand

Joined: Dec 27, 2005
Posts: 47
Yes you can. You can invoke Java.
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Originally posted by paulvack cork:
Can we invoke jvm from c++ programs.

Yes, I do it. You want the Invocation API.

My application is in C. However, throughout the rest of JNI, the norm seems to be that C++ is similar, except that you omit the first parameter to any C function call, and instead use that parameter as the C++ object on which the same-named method is invoked.

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: how to invoke jvm fro c++
jQuery in Action, 3rd edition