I am trying to use a specific Eclipse plugin with native code dependencies. These dependencies always remain unresolved, so this plugin never loads OSGI.
MANIFEST.MF
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: PROS Cortex Flash Utility
Bundle-SymbolicName: com.purduesigbots.vexflash; singleton:=true
Bundle-Version: 1.0.0.6
Bundle-Activator: com.purduesigbots.vexflash.Activator
Bundle-Vendor: Purdue ACM SIG BOTS
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.co
re.resources,org.eclipse.ui.ide;bundle-version="3.7.0",org.eclipse.de
bug.ui;bundle-version="3.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Bundle-NativeCode:
/libs/windows/jSSC-2.6_x86_64.dll;
osname=win32; processor=x86_64, *
Bundle-ClassPath: .,jna.jar,platform.jar
The path to the dll is / libs / windows / jSSC -2.6_x86_64.dll inside the bundle banner. I tried many different things to try to get the bootloader to boot without success.
How can I get OSGI to load my own library? I am running JRE 8 64 bit on Windows 10.
EDIT:
I modified MANIFEST.MF to make it work
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: PROS Cortex Flash Utility
Bundle-SymbolicName: com.purduesigbots.vexflash; singleton:=true
Bundle-Version: 1.0.0.6
Bundle-Activator: com.purduesigbots.vexflash.Activator
Bundle-Vendor: Purdue ACM SIG BOTS
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.co
re.resources,org.eclipse.ui.ide;bundle-version="3.7.0",org.eclipse.de
bug.ui;bundle-version="3.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Bundle-NativeCode:
/libs/windows/jSSC-2.6_x86_64.dll;
osname=win32; osname="Windows 10"; processor=x86_64
Bundle-ClassPath: .,jna.jar,platform.jar
source
share