Is it supported to compile the jni code as 32-bit shared libraries and use it in 64-bit compiled java code ?

Solution Unverified - Updated -


  • We have a query reg the Java compilation with 64 bit OpenJDK1.8. If we are compiling java code with 64 bit java compiler(openjdk 64 bit jvm) and if we are compiling our jni code as 32-bit shared libraries and these libraries if imported and used in our 64-bit compiled java code, does Red Hat provides support for this?


  • Red Hat Enterprise Linux (RHEL)
    • 6.x
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In