New runtime breaks bundle [message #95903] |
Mon, 27 August 2007 09:22 |
Eclipse User |
|
|
|
Originally posted by: joedoe.mailinator.com
Hi everyone,
I've written a bundle and launched it on my laptop on an Equinox OSGi platform on an IBM J9 Runtime Environment. When I copy my bundle to my Windows Mobile handheld device, where I also run Equinox on J9, I get a BundleException: "The Activator is invalid". It has a nested ClassNotFoundException for my Activator.
Has anyone encountered a similar problem? I did realize that on the handheld, I always have to specify an absolute path in the OSGi-console and lnk-file (e.g. when setting the classpath), relative paths don't work.
Any suggestions are very appreciated.
lnk-File:
255#"\J9\PPRO11\bin\j9.exe" "-jcl:ppro11" "-jar" "-cp" ".;\J9\PPRO11\osgi\" "\J9\PPRO11\osgi\org.eclipse.osgi_3.2.2.R32x_v20070118.jar" "-console"
Thanks a lot,
Joe
|
|
|
Re: New runtime breaks bundle [message #96023 is a reply to message #95903] |
Tue, 28 August 2007 08:00 |
Eclipse User |
|
|
|
Originally posted by: joedoe.mailinator.com
Found the mistake:
I forgot to add "." to the Bundle-ClassPath:
In MANIFEST.MF:
Bundle-ClassPath: MyFirstJar.jar,
MySecondJar.jar,
.
Hope it helps someone with the same problem.
Cheers, Joe
|
|
|
Powered by
FUDForum. Page generated in 0.02849 seconds