Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Native code on Windows 10

I've created a class that handles a lot of dynamic libraries in OSGi if you use JNA. You can specify additional libraries that your library depends on, even if they are not needed in all environments. It will also provide a lot more diagnostic information if it fails.


Kind regards,

Peter Kriens

On 27 Jan 2021, at 19:41, Todor Dimitrov <todor.dimitrov@xxxxxx> wrote:

Hello,

I have a problem resolving native code on Windows 10. The following manifest declaration does not work:

Bundle-NativeCode: sqlite-native/windows/x86/sqlitejdbc.dll; processor=x86; osname=win32

whereas removing 'processor' and 'osname' seems to solve the problem, i.e.

Bundle-NativeCode: sqlite-native/windows/x86/sqlitejdbc.dll

I've tried specifying the 'org.osgi.framework.processor' and 'org.osgi.framework.os.name' like so:

-Dorg.osgi.framework.processor=x86 -Dorg.osgi.framework.os.name=win32

Any ideas? I'm using the following environment:

Windows 10 32-bit
Oracle Java 1.8.0_281
Eclipse 4.16 / Equinox 3.20.200.v20200528-0603

Thanks in advance,
Todor
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev


Back to the top