On Tue, Mar 16, 2010 at 00:28, Philip Brown <[email protected]> wrote:
> On Mon, Mar 15, 2010 at 3:08 PM, Roger Håkansson <[email protected]> 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.
_______________________________________________ maintainers mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/maintainers .:: This mailing list's archive is public. ::.
