dhcppc1:/usr/local/xruby # sh build.sh
Buildfile: build.xml
parser:
treeparser:
compile:
[javac] Compiling 273 source files to /usr/local/xruby/build
BUILD FAILED
/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
Total time: 0 seconds
How could I tell the build script where to look for javac - if
this is the real problem here?
/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.
thank you for responding.
I actually verified that javac is on my system, and
can be found by the system to compile a “Hello-World”
program in java.
So I don’t think that the $JAVA_HOME
variable is the problem here anymore, but I am a java
newbie, so I don’t understand what could be wrong otherwise…
Please, Java experts, help me again…
Best regards,
Axel
-------- Original-Nachricht --------
Datum: Tue, 19 Jun 2007 05:31:29 +0900
Von: Douglas S. [email protected]
An: [email protected]
Betreff: Re: Help needed in building xruby (for java newbie)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.