[Nix-dev] libreoffice build is broken

Eelco Dolstra eelco.dolstra at logicblox.com
Tue Jan 21 09:31:06 CET 2014


Hi,

On 21/01/14 09:20, Bjørn Forsman wrote:

> It is as if $JAVA_HOME at some point is overridden and points to jre instead of
> jdk. (When $JAVA_HOME doesn't point to jdk one get this message about missing
> tools.jar.)
> 
> I used nix-shell and ran the configure step manually. In my shell $JAVA_HOME is
> set correctly (=jdk) but it looks like configure sees it as =jre.

That's because ToolProvider.getSystemJavaCompiler() doesn't actually look at
$JAVA_HOME but derives the location of tools.jar from the location of the "java"
binary.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list