OK, I didn’t know that x86 support was dropped for Windows. The application 
used to work with previous equinox versions. Since we don’t really use Windows, 
this gets tested once every 2 years :-)

Isn’t it just better to throw an exception “equinox does not run on Windows 
x86" and exit?

> Also: what do you mean by resolve?

We don’t use bnd but we get an exception like this:

Unresolved requirement: Require-Capability: osgi.native

Thank you,
Todor

> On 27. Jan 2021, at 20:39, Jürgen Albert <[email protected]> wrote:
> 
> 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 
> <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 <[email protected] <mailto:[email protected]>> 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 <http://www.kichwacoders.com/>
> 
> 
> On Wed, 27 Jan 2021 at 13:41, Todor Dimitrov <[email protected] 
> <mailto:[email protected]>> 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 <http://org.osgi.framework.os.name/>' like so:
> 
> -Dorg.osgi.framework.processor=x86 -Dorg.osgi.framework.os.name 
> <http://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
> [email protected] <mailto:[email protected]>
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/equinox-dev 
> <https://www.eclipse.org/mailman/listinfo/equinox-dev>
> _______________________________________________
> equinox-dev mailing list
> [email protected] <mailto:[email protected]>
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/equinox-dev 
> <https://www.eclipse.org/mailman/listinfo/equinox-dev>
> _______________________________________________
> equinox-dev mailing list
> [email protected]
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to