[csw-maintainers] Java packages
rupert THURNER
rupert at opencsw.org
Tue Mar 16 00:58:27 CET 2010
On Tue, Mar 16, 2010 at 00:28, Philip Brown <phil at bolthole.com> wrote:
> On Mon, Mar 15, 2010 at 3:08 PM, Roger Håkansson <hson at opencsw.org> wrote:
> > On 2010-03-15 23:30, Philip Brown wrote:
>
> >> (and technically, I think that, while there isnt a "standard"
> >> compiled-in thing like RPATH, I believe that java programs can
> >> programatically alter their own CLASSPATH if they choose.
> >> (so, technically, you CAN "compile in" a CLASSPATH, of sorts)
> >
> > Not that I can think of, possibly you could load your classes manually,
> but
> > thats more like dlopen..
> >
>
>
> (dug into things from the past...)
>
> oh. that's right, there isnt a nice,simple, CLEAN way to do it.
> You have to do interesting things like override the system ClassLoader
> with your own custom one. heh heh heh...
>
>
>
setting the path in the manifest of the jar file which contains the main
would be possible:
*
http://en.wikipedia.org/wiki/Classpath_%28Java%29#Setting_the_path_in_a_Manifest_file
*
http://stackoverflow.com/questions/858766/generate-manifest-class-path-from-classpath-in-ant
which is kind of compiled in.
rupert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/maintainers/attachments/20100316/3140dfb6/attachment.html>
More information about the maintainers
mailing list