buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Boisvert" <boisv...@intalio.com>
Subject Re: NoClassDefFoundError: com/sun/tools/javac/Main
Date Sun, 28 Dec 2008 15:34:04 GMT
Try the following to determine where Buildr is expecting tools.jar to be
located:

boisvert@boog:~$ irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'buildr'
=> true
irb(main):003:0> Java.tools_jar
=> "/opt/boisvert/jdk1.6.0_10/lib/tools.jar"

alex


On Sun, Dec 28, 2008 at 4:59 AM, Ittay Dror <ittay.dror@gmail.com> wrote:

> Hi,
>
>
> I'm trying to compile a java module and the title is the error I get. The
> machine is x86_64 with a 64bit java.
>
>
> I can see that tools.jar is in the classpath when the JVM is loaded and
> that it contains com/sun/tools/javac/Main com/sun/tools/javac/Main.class
>
>
> Any help is appreciated,
>
> Ittay
>
>
> --
> --
> Ittay Dror <ittay.dror@gmail.com>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message