Discussion Locked

Calling Java from C++

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

Does anybody knows How to call java methods in C++ application?
If we want to call java in C++ first we need to create an instance of JVM in C++.
There are lots of references available how to do that. But nothings works properly. It failsto create the instance of JVM in C++. If anybody has done it & having it worked Please HELP me in this.It would be a great help. I think my application fails to create JVM instance because of the problem in configuration (path setting JVM)..Please give your hands

Thanks in advance
Bhaams

1 reply

by fromnaija

Have you tried the method of wrapping your Java class as a COM component? This way, it would be easier to call from C++. Get hold of a copy of "COM and DCOM - Microsoft's Vision for distributed objects" by Roger Sessions. I'm sure you will find the help you desperately need.
Cheers.

This discussion is closed to new replies.