To be clear, the Eclipse IDE doesn't support x86 32-bit. Nothing in the Equinox Framework prevents you from running on x86 32-bit.
Can you run the gogo console in your environment and run the following command?
inspect capability osgi.native 0
inspect capability osgi.native 0
I expect output like this (note this is from my Mac so it will be different on Windows):
org.eclipse.osgi_3.16.200.v20201209-1827 [0] provides:
------------------------------------------------------
osgi.native with properties:
osgi.native.language = en
osgi.native.osname = [MacOSX, Mac OS X]
osgi.native.osversion = 10.14.6
osgi.native.processor = [x86-64, amd64, em64t, x86_64]
------------------------------------------------------
osgi.native with properties:
osgi.native.language = en
osgi.native.osname = [MacOSX, Mac OS X]
osgi.native.osversion = 10.14.6
osgi.native.processor = [x86-64, amd64, em64t, x86_64]
Note that there will be several other properties. But the osgi.native ones are what is used to match the Bundle-Native code header.
Also, can we have a look at your requirement for the osgi.native namespace? Use this command, with the bundle ID of the your bundle with the Bundle-NativeCode header:
inspect requirement osgi.native <your bundle ID>
This should give the transformed requirement filter the framework derived from your Bundle-Native code header which is then matched against the osgi.native capability provided by the framework.
Tom
----- Original message -----
From: Todor Dimitrov <[email protected]>
Sent by: "equinox-dev" <[email protected]>
To: Equinox development mailing list <[email protected]>
Cc:
Subject: [EXTERNAL] Re: [equinox-dev] Native code on Windows 10
Date: Wed, Jan 27, 2021 2:35 PM
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.nativeThank you,TodorOn 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.htmlAlso: 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]> 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_______________________________________________On Wed, 27 Jan 2021 at 13:41, Todor Dimitrov <[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=win32whereas removing 'processor' and 'osname' seems to solve the problem, i.e.Bundle-NativeCode: sqlite-native/windows/x86/sqlitejdbc.dllI'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=win32Any ideas? I'm using the following environment:Windows 10 32-bitOracle Java 1.8.0_281Eclipse 4.16 / Equinox 3.20.200.v20200528-0603Thanks in advance,Todor
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
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
_______________________________________________ equinox-dev mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
