Hi,

I'm seeing the following errors even I'm sure my JAVA_HOME is pointing to the "C:\Program Files\Java\jdk1.6.0_13". But running the test cases alone works. It seems that JAVA_HOME got changed by a module in the middle of the build.

Thanks,
Raymond

[INFO] Error for project: Apache Tuscany SCA iTest Distribution binding-ws-calcu
lator (during install)
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Tuscany-2.x\java\sca\itest\distribution\binding-ws-calculator\build.xml:36: T
he following error occurred while executing this line:
C:\Tuscany-2.x\java\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPS
HOT-dir\tuscany-sca-2.0-SNAPSHOT\samples\binding-ws-calculator\build.xml:37: Una
ble to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jdk1.6.0_13\jre"

[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA iTest Distribution calculator-rmi (
during install)
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Tuscany-2.x\java\sca\itest\distribution\calculator-rmi\build.xml:38:
The following error occurred while executing this line:
C:\Tuscany-2.x\java\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPS
HOT-dir\tuscany-sca-2.0-SNAPSHOT\samples\calculator-rmi-service\build.xml:38: Un
able to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jdk1.6.0_13\jre"
The following error occurred while executing this line:
C:\Tuscany-2.x\java\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPS
HOT-dir\tuscany-sca-2.0-SNAPSHOT\samples\calculator-rmi-reference\build.xml:38:
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.
It is currently set to "C:\Program Files\Java\jdk1.6.0_13\jre"

[INFO] ------------------------------------------------------------------------
[INFO] Error for project: Apache Tuscany SCA iTest Distribution implementation-j
ava-calculator (during install)
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Tuscany-2.x\java\sca\itest\distribution\implementation-java-calculator\build.
xml:36: The following error occurred while executing this line:
C:\Tuscany-2.x\java\sca\distribution\all\target\apache-tuscany-sca-all-2.0-SNAPS
HOT-dir\tuscany-sca-2.0-SNAPSHOT\samples\implementation-java-calculator\build.xm
l:37: 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.
It is currently set to "C:\Program Files\Java\jdk1.6.0_13\jre"


---
Raymond Feng
Apache Tuscany PMC Member: http://tuscany.apache.org
Co-author of Tuscany In Action (A book on Tuscany SCA): http://tuscanyinaction.com/


Reply via email to