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!

JDK 1.8 - JNI_CreateJavaVM hangs

manuelcrMay 12 2014 — edited May 14 2014

Hi, we have a C++ application which creates a JavaVM using JNI.

It has been working with JDK 1.6 and 1.7, but when we have updated to Java 8, it hangs when invoke JNI_CreateJavaVM.

We have tested with JDK 1.8.0 and 1.8.0 update 5.

If we come back to JDK 1.7, it works fine again.

We have compiled alll our C++ code linking to the Java 8 libraries.

Our Environment:

- Jdk 8

- RedHat 6.3

- x64

Any idea about it?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 11 2014
Added on May 12 2014
2 comments
3,823 views