buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ittay Dror <itt...@tikalk.com>
Subject Re: NoClassDefFoundError: com/sun/tools/javac/Main
Date Sun, 28 Dec 2008 15:40:29 GMT
thanks. i already found a solution (my own fault, hacking rjb). sorry 
for the noise (i still didn't receive my own message or i would have 
replied to it)


ittay


Alex Boisvert wrote:

> 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>
>>
>>
>>
>>     
>
>   

-- 
Ittay Dror <ittayd@tikalk.com>
Tikal <http://www.tikalk.com>
Tikal Project <http://tikal.sourceforge.net>


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