=== hannesw_ is now known as hannesw [16:07] is there a way to get the apt to use the 'real' java installed instead of trying to pull in a gcj stack? [16:09] ie. if i do update-java-alternatives and pick the sun or openjdk [16:10] and then try to install something like maven, apt still wants to pull down the entire gcj stack [16:32] hazmat: Yes, but not trivially, or client-side. [16:33] Essentially it requires investigating the dependency stacks,and ensuring that there exists a gcj-clean path. [16:34] Note that if any adjustments are required, it's important to *also* support the -gcj path for folks that want to run natively. [16:37] persia, so what would a gcj clean path look like.. let's take ant as an example (smaller transitive dep stack) i see default-jre-headless and libxerces2-java as the deps.. lbiexerces2-java also needs the same default-jre-headless and libjaxp which just needs a default-jre-headless [16:37] so afaics thats a gcj-clean path [16:38] yet attempting an installation will still pull in a gcj stack [16:39] I have ant installed on my workstation and no -gcj packages. [16:40] Could you paste the output of `apt-get install ant` in your target environment? [16:41] persia, http://gist.github.com/367258 [16:42] and my java alternatives.. http://gist.github.com/367261 [16:42] karmic fwiw [16:43] Ah, right. [16:43] So ant-gcj is a recomemndation, and you have recommends turned on by default. [16:43] You either need to use --no-install-recommends or use a more nuanced package manager.