When compiling against JDK1.6, use a compact jar containing stubs (derived from ct.sym) rather than the full rt.jar. Less to download if you want to build mondrian.