accessing a "library" jar file that is named on the classpath [message #96702] |
Thu, 06 September 2007 15:35 |
Eclipse User |
|
|
|
Originally posted by: twilliams.xanboo.com
Hi,
I have application that was running on an OSGi platform 3 platform. I'm
trying to port it to equinox.
The main application accesses several classes that are defined in separate
jar files, the jar files are named in the application's class path. When
running the same code on equinox I'm getting NoClassDef found exceptions
whenever the main app tries to reference a class defined in another jar
file. When I do getprop java.class.path the path returned lists all the
needed jar files so I beleive the classpath is set correctly.
I have the feeling that I'm missing something fundamental, in OSGi platform
4 do all packages have to be exported by bundles?
Thanks for any help
Tim.
|
|
|
Re: accessing a "library" jar file that is named on the classpath [message #96717 is a reply to message #96702] |
Thu, 06 September 2007 16:15 |
Eclipse User |
|
|
|
Originally posted by: twilliams.xanboo.com
Sorry this was answered in an earlier post. If I include the jars in the
bootclasspath all seems to be working.
"Tim Williams" <twilliams@xanboo.com> wrote in message
news:fbp6nt$4t9$1@build.eclipse.org...
> Hi,
>
> I have application that was running on an OSGi platform 3 platform. I'm
> trying to port it to equinox.
>
> The main application accesses several classes that are defined in separate
> jar files, the jar files are named in the application's class path. When
> running the same code on equinox I'm getting NoClassDef found exceptions
> whenever the main app tries to reference a class defined in another jar
> file. When I do getprop java.class.path the path returned lists all the
> needed jar files so I beleive the classpath is set correctly.
>
> I have the feeling that I'm missing something fundamental, in OSGi
platform
> 4 do all packages have to be exported by bundles?
>
> Thanks for any help
> Tim.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02323 seconds