Skip to main content



      Home
Home » Eclipse Projects » Equinox » Native Code Loading via Bundle-NativeCode
Native Code Loading via Bundle-NativeCode [message #46050] Mon, 15 November 2004 12:02 Go to next message
Eclipse UserFriend
I am using Eclipse 3.1 M2.

I have a class in my bundle that is attempting to load a library.

static
{
System.loadLibrary("ProcessManagement");
}

The ProcessManagement.dll is provided in my bundle.

When I add a Bundle-NativeCode: property to my manifest, I get this error:

!MESSAGE Could not install bundle /c:/eclipse3.1/plugins/com.test._1.0.0/
No Bundle-NativeCode match

Here's the property specified in the manifest:

Bundle-NativeCode: lib/ProcessManagement.dll

Is Bundle-NativeCode supported? Is there a better way to link the native
code?

Jim VanOosten
Re: Native Code Loading via Bundle-NativeCode [message #46080 is a reply to message #46050] Tue, 16 November 2004 20:44 Go to previous message
Eclipse UserFriend
The error was circumvented by specifying environment parameter clauses for
the osname and processor.

Bundle-NativeCode: /lib/ProcessManagement.dll ;
osname = WindowsXP ;
processor = x86
Previous Topic:Workspace implementation
Next Topic:Eclipse based web applications
Goto Forum:
  


Current Time: Thu May 08 19:17:21 EDT 2025

Powered by FUDForum. Page generated in 0.03134 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top