How to access java class from c++ program

Dear All,
We have the requirement to access one java class from c++ program. Please share your ideas which will take me towards the right direction.


Thanks in advance


You may not be able to do this. Java runs in its own virtual machine, and in general an external program, such as a normal C++ will not have access to objects there.
kbw is right. Fortunately, compile the java class with gcj and everything you need should come along for the ride.
Topic archived. No new replies allowed.