I'm trying to upgrade the OSGI version in my project and while launching my application I'm facing below exceptions.

I'm facing the below exception in start() of Activator class:

Caused by: java.lang.IllegalArgumentException: Declaration is invalid: osgi.native; native.paths:List="Some\_DLL's\_are\_specified\_here"; filter:="(|(&(|(osgi.native.osname~=win32)(osgi.native.osname~=Windows 8)(osgi.native.osname~=Windows 8.1)(osgi.native.osname~=Windows Server 2012)(osgi.native.osname~=Windows Server 2012 R2)(osgi.native.osname~=Windows 10)(osgi.native.osname~=Windows NT (unknown)))(osgi.native.processor~=x86\_64)))"
..
...
....
Caused by: org.osgi.framework.BundleException: Invalid manifest header Require-Capability: osgi.native; native.paths:List="Some\_DLL's\_are\_specified\_here"; filter:="(|(&(|(osgi.native.osname~=win32)(osgi.native.osname~=Windows 8)(osgi.native.osname~=Windows 8.1)(osgi.native.osname~=Windows Server 2012)(osgi.native.osname~=Windows Server 2012 R2)(osgi.native.osname~=Windows 10)(osgi.native.osname~=Windows NT (unknown)))(osgi.native.processor~=x86\_64)))"
..
...
....
Caused by: org.osgi.framework.InvalidSyntaxException: Invalid value at "(unknown))) (osgi.native.processor~=x86\_64)))": (|(&(|(osgi.native.osname~=win32)(osgi.native.osname~=Windows 8)(osgi.native.osname~=Windows 8.1)(osgi.native.osname~=Windows Server 2012)(osgi.native.osname~=Windows Server 2012 R2)(osgi.native.osname~=Windows 10)(osgi.native.osname~=Windows NT (unknown)))(osgi.native.processor~=x86\_64)))
..
...
....
Root exception:
java.lang.IllegalArgumentException: Declaration is invalid: osgi.native; native.paths:List="<>"; filter:="(|(&(|(osgi.native.osname~=win32)(osgi.native.osname~=Windows 8)(osgi.native.osname~=Windows 8.1)(osgi.native.osname~=Windows Server 2012)(osgi.native.osname~=Windows Server 2012 R2)(osgi.native.osname~=Windows 10)(osgi.native.osname~=Windows NT (unknown)))(osgi.native.processor~=x86\_64)))"

And at last I'm getting following exception on console:

java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).

Anyone familiar with this? or any suggestions?

Note: I've replaced org.eclipse.osgi\_3.10.1 jar with org.eclipse.osgi\_3.8.1 in my project.