Community
Participate
Working Groups
We want to be able to launch the harmony vm using the JNI invocation API. Pointing at harmony's java.exe works. 0) Instructions for using harmony's java.exe involve setting PATH to include jre/bin, as well has JAVA_HOME to jre. 1) jre/bin/default/harmonyvm.dll appears to be the entry point. Though it contains a "_JNI_CreateJavaVM@12" instead of "JNI_CreateJavaVM", the launcher will need to load this symbol if this is the correct entry method. Currently with the above, we crash in the call to JNI_CreateJavaVM: Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.) 2 harmonyvm!?classloader_find_native@@YAP6AXXZQAUMethod@@@Z() 0x00a8ecd8 1 <symbol is not available> 0x00000000
I have raised https://issues.apache.org/jira/browse/HARMONY-4006 against Harmony.
Harmony is working via JNI using harmony version > 582306. I used 587111 to test this.