From: Douglas Shearer Date: 2007-06-19T05:31:29+09:00 Subject: Re: Help needed in building xruby (for java newbie) Axel Etzold wrote: > /usr/local/xruby/build.xml:59: Unable to find a javac compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK Hi Axel. Looks like you need to add the directory containing javac to your PATH. In teh example below I did a find to get that, then modified the path. quicksilver:~ dougal$ sudo find / -name javac /usr/bin/javac quicksilver:~ dougal$ export PATH=/usr/bin:$PATH Obviously this example is a little silly, as /usr/bin will always be in your path (On OS X anyway), but on your system it may be located differently. In sumary.. 1 - Find where javac and friends live. 2 - Add the directory to your PATH. 3 - Run your compilation. Hope this helps. D. http://douglasfshearer.com -- Posted via http://www.ruby-forum.com/.