To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=47888





------- Additional comments from [EMAIL PROTECTED] Wed Jul 20 09:09:37 -0700 
2005 -------
I have a couple of details to add:

1. In my proposed code, there is a line missing. Replace the following lines:

        // Start the CFRunLoop
        sourceContext.version = 0;

   with:

        // Start the CFRunLoop
        CFRunLoopSourceContext aourceContext;
        sourceContext.version = 0;

2. If you don't plan on supporting Mac OS X 10.2 (Jaguar), you don't need to
include the following lines:

    // TODO: Determine if we are running Java 1.3.1 as this code is currently
hardcoded for Java 1.4 or higher
    jint jniVersion = JNI_VERSION_1_4;

    if ( jniVersion >= JNI_VERSION_1_4 )

Instead, you just need to make the following changes to force Mac OS X to load
Java 1.4 or higher. In the jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx
file (OOo 2.0) or the stoc/source/javavm/javavm.cxx file (OOo 1.1.5), replace
the following line:

    vm_args.version= JNI_VERSION_1_2;

with:

    #ifdef MACOSX
    vm_args.version= JNI_VERSION_1_4;
    #else
    vm_args.version= JNI_VERSION_1_2;
    #endif


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to