Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » program can't find jars inside itself
program can't find jars inside itself [message #989178] Wed, 05 December 2012 01:59 Go to next message
Nk omli is currently offline Nk omli
Messages: 4
Registered: April 2012
Junior Member
hI, I have jars attached to my project as referenced libraries. When I export the project as a jar. The library jars are inside but suddenly the program won't run anymore because it can't find them. How do I get the program to recognize that it has the needed files in the jars it has packed?
Re: program can't find jars inside itself [message #989508 is a reply to message #989178] Thu, 06 December 2012 14:37 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1346
Registered: July 2009
Senior Member
You would need to write a custom class loader to do that. The default class loaders shipped with Java don't look for jars within jars.
Previous Topic:Errors on startup, just installed
Next Topic:No rule to make target `all'
Goto Forum:
  


Current Time: Thu Oct 30 18:17:12 GMT 2014

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

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