Guice Finalizer

Bahri G.
  • Bahri G.

    Bahri G. - 2010-02-04

    When I try to include Guice jars (otherwise working in eclipse exported jar) into one-jar jar, I get the following error when executing the jar:

    04.Feb.2010 11:18:29$DecoupledLoader loadFinalizer
    WARNING: Could not load Finalizer in its own class loader. Loading Finalizer in the current class loader instead. As a result, you will not be able to garbage collect this class loader. To support reclaiming this class loader, either resolve the underlying issue, or move Google Collections to your system class path. Unsupported path style:

  • P. Simon Tuffs

    P. Simon Tuffs - 2010-02-05


    please can you provide more detailed instructions on how to recreate this problem, and I'll take a look at it.  Ideally a simple main program plus instructions on how to build it (which Guice jars are required, etc).  More ideally, source-code, jars, and a build.xml file to create the one-jar.


  • Bahri G.

    Bahri G. - 2010-02-05


    First of all, it is not an error, but a nasty warning with full stacktrace at the start of the program. Actual program works, but guice did not like the classloader I guess.

    You can download sample project at You have to download guice to build, i tried to include instructions. There is also eclipse's jar-in-jar loader included, for which guice doesn't give any warning.

  • P. Simon Tuffs

    P. Simon Tuffs - 2010-02-15

    Hi: thanks for tracking down the cause of this: I haven't had a chance to look into it yet.  The translation of "/" to "." in one-jar was done to mirror the translation of the same in Java, from package-name to directory and back-again.   I may have to revisit this, it should be possible to find something that works without proviking Guice.


Log in to post a comment.