[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: find jar file

Not sure what you're trying to do.  If the jar is on your classpath, you
should be able to just load classes from it without having to refer to it
explicitly.  Anyway, this is not gef-related.

"smallfish" <penzhan8451@xxxxxxxxxxxx> wrote in message
news:590d288fa39dd3a5a91e74b35fad2aff$1@xxxxxxxxxxxxxxxxxx
>
>
> Hi,
>
>    In my plugin directory, I have tow jars ,one is mypluin.jar ,another is
>
> support.jar .  I want to visit the support.jar from a java file which is
> in
>
> myplugin.jar, my code likes below :
>
> ...
>                  InputStream is = null ;
>                  is =
> ResourcesPlugin.class.getResourceAsStream("support.jar");
> jis = new JarInputStream(is);
> ..........
>
> but the is is null.
>
>             would you please tell me how to do it ?
>
>
> Thanks in advance !
>