buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lacton <lac...@users.sourceforge.net>
Subject Re: Problem compiling with buildr
Date Sat, 11 Oct 2008 10:16:06 GMT
On Fri, Oct 10, 2008 at 3:51 AM, chihiro <gavin.emploi@gmail.com> wrote:
> Yes. It is pointing to a jre.
>
> $ jruby -e "puts Java.java.lang.System.getProperty('java.home')"
> c:\_programs\jdk1.6.0_04\jre
>
> But,
>
> $ echo $JAVA_HOME
> C:\_programs\jdk1.6.0_04
>
> I'll have to figure out why the "jre" is appended to JAVA_HOME.

I still wonder why buildr cannot find tools.jar. Buildr should know
how to handle this case.

Sorry to ask you one more time, but will you try the following command
in your environment?

jruby -e "['lib/tools.jar', '../lib/tools.jar'].map { |path|
File.expand_path(path, Java.java.lang.System.getProperty('java.home'))
}.each { |f| puts %{#{f} #{File.exist?(f)}} }"

Lacton

Mime
View raw message