harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Niefer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4006) Eclipse launcher can't start Harmony VM using JNI Invocation API.
Date Wed, 30 May 2007 19:33:15 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Andrew Niefer updated HARMONY-4006:

    Attachment: eclipse_1018.dll

With a recent eclipse (3.3RC2), copy attached eclipse_1018.dll to eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.0.*
(this dll looks for the _JNI_CreateJavaVM@12 symbol in addition to the normal JNI_CreateJavaVM)

Set PATH & JAVA_HOME for harmony, start eclipse with the command
eclipse -vm /harmony/jre/bin/default/harmonyvm.dll

> Eclipse launcher can't start Harmony VM using JNI Invocation API.
> -----------------------------------------------------------------
>                 Key: HARMONY-4006
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4006
>             Project: Harmony
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Andrew Niefer
>         Attachments: eclipse_1018.dll
> See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=189690
> We would like for the eclipse launcher to be able to start the harmony vm using the JNI
invocation API.
> The eclipse launcher does not know anything about the port library.  It looks for the
symbol "JNI_CreateJavaVM" and calls it.  If we modify the eclipse launcher to find "_JNI_CreateJavaVM@12"
from the harmonyvm.dll, then the result is the following crash:
> Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.) 
> 2 harmonyvm!?classloader_find_native@@YAP6AXXZQAUMethod@@@Z()  0x00a8ecd8       
> 1 <symbol is not available> 0x00000000

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message