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

Hi Todor,

I also suspect you use at least the wrong architecture name. The available names can be found under: https://docs.osgi.org/reference/osnames.html

Also: what do you mean by resolve? If you use the bnd resolver, you have to make sure you provide the native capabilities to the resolver. Here you need to add: -runsystemcapabilities: ${native_capability} if I'm not mistaken.

Regards,

Jürgen.

Jonah Graham <jonah@xxxxxxxxxxxxxxxx> schrieb am Mi., 27. Jan. 2021, 19:52:
Hi Todor,

I am not sure if there is special/different support in Equinox, so my answer may be off base.

You are using 32-bit Windows - however 32-bit has not been supported by Eclipse since Eclipse 4.10 (2018-12) release. Could that be your problem here?

Jonah

~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Wed, 27 Jan 2021 at 13: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
_______________________________________________
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