Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » accessing a "library" jar file that is named on the classpath
accessing a "library" jar file that is named on the classpath [message #96702] Thu, 06 September 2007 15:35 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
>
>
Previous Topic:Checking for service availability
Next Topic:Need to find out if Equinox is launched from Eclipse
Goto Forum:
  


Current Time: Thu Apr 18 11:27:22 GMT 2024

Powered by FUDForum. Page generated in 0.02323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top