if your using .NET the answer is yes, absolutly indeedie. Microsoft wont shut up about there interopertability..
the whole exchange of varibles is spost to happen using the CLR (commen language runtime)
Implement a Java .NET class (If your lucky you can use the standard java api with this but i have never used java and .NET together so i wouldn't have a clue)
then use that class in your C++ program.
Good luck anyway, if that dosn't work do a google for "java .net interoperability"
this may help
http://www.alphaworks.ibm.com/tech/e...63&S_CMP=AWRSS
from the sound of what I have read on the net you might have some troubles.