[Wine] Wine app, can use Linux Java (JNI)?

James Mckenzie jjmckenzie51 at earthlink.net
Thu Jan 13 09:26:39 CST 2011


aleroot <wineforum-user at winehq.org> wrote:
>Sent: Jan 13, 2011 6:27 AM
>To: wine-users at winehq.org
>Subject: [Wine]  Wine app, can use Linux Java (JNI)?
>
>I have a windows application that use Java virtual machine through JNI for run this application i've installed also JRE on
>Wine.

As you have to.  Java for Windows IS NOT Java for Linux.  There is no communications path between Wine and an external Java Runtime Engine and (for security purposes as well as other reasons) there should not be one.  Thus, unless you do a recompile of the Java application to run on Linux (it appears that it uses 'special' Windows coding and features) it will not run in a Linux JVM.  Thus you must install Sun Java in the Windows version in Wine to use the program.
>
>The application works well but is there a way to use the Java virtual machine installed on Linux machine instead of JVM
>installed in wine ?

No.

James McKenzie




More information about the wine-users mailing list