Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Is it possible to convert jint to int ?

843829Apr 12 2004 — edited Apr 13 2004
I am on a C++ program and got data from a java method on to a jint (I think 32bits) variable.

Now I want to return this jint value as the result of the function call in my C++ program. But it does not compiled.

Anybody know how to convert jint to any valid C++ data type (like int or double) ?

Thanks
Mei

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2004
Added on Apr 12 2004
2 comments
9,794 views