[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Which class in which package

Michael Koch schrieb:
On Thu, Feb 01, 2007 at 09:05:40PM +0100, gerhard oettl wrote:

Is there a standard (or any) way to find out which java class is in
which non installed debian package to know whats to install if a
ClassNotFoundException arises?

There is no official way currently. What I do currently is to google to
find out in which package/jar/software this class is included and then
search for this package/jar/software with apt-cache search.

I will think up of a way to setup a service for this. It should be
possible to index all jars we have in debian package and make that index
searchable on some website.

That would be a great help vor java user/developer. As I pointed out the problem is that classes (and maybe also other java resouces) are inside compressed files (jar) and therefore not visible for the well known debian search variants. If the name of the jar-file is known finding the corresponding debian-package is a smal job - thanks to debians toolset for that. ;-)




Reply to: