CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2008
    Posts
    32

    Jar in jar for eclipse

    Hi, I have a program that uses jar libraries for some classes. The classes are detected fine when they are run from jars attached to the project in the IDE but once I pack them into a jar and export they no longer seem to be detected. Is there any way to solve this in eclipse?

    Thanks

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Jar in jar for eclipse

    The standard classloader can't resolve jar files packed inside jar files. You can supply your own classloader to handle this. I seem to remember years ago on this forum giving such a solution. Try searching here for it.
    Posting code? Use code tags like this: [code]...Your code here...[/code]
    Click here for examples of Java Code

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured