Library class loader (setting system class loader parent)

Discussion in 'Java' started by Karsten Wutzke, Jun 29, 2007.

  1. Hi all!

    I have a library class loader which can load classes from libraries in
    some way. Anytime the system class loader doesn't find library
    classes, it should automatically ask the library class loader to find
    them. Logically the library class loader sits between the extension
    class loader and the system class loader.

    Is there any way to change the class loader hierarchy so that the
    library class loader becomes the parent of the system class loader,
    possibly at the earliest time possible when the JRE starts?

    Karsten
     
    Karsten Wutzke, Jun 29, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    563
    Andrea Desole
    Dec 14, 2005
  2. =?iso-8859-1?q?Andr=E9_Wagner?=

    Loading a class using the applet class loader

    =?iso-8859-1?q?Andr=E9_Wagner?=, May 30, 2007, in forum: Java
    Replies:
    7
    Views:
    452
    Mark Space
    May 31, 2007
  3. gorudonu
    Replies:
    0
    Views:
    1,033
    gorudonu
    Aug 5, 2010
  4. Marco
    Replies:
    4
    Views:
    144
  5. Replies:
    0
    Views:
    175
Loading...

Share This Page