Gav.... wrote:
Hi All,Just reinstalled everything onto new laptop and now can not get forrest build to work, complains it can not find the java compiler. heres the output :- D:\Apache2\forrest\main>build Using classpath: ";..\lib\endorsed\jakarta-bcel-20040329.jar;..\lib\endorsed\jakarta-regexp-1.4.jar;..\lib\endorsed\xalan-2.7.0.jar;..\lib\endorsed\xercesImpl-2 .7.1.jar;..\lib\endorsed\xml-apis-1.3.02.jar"Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_06\lib\tools.jar Buildfile: build.xmlinit: -------------------------------------------------------------- Using Apache Ant version 1.6.2 compiled on July 16 2004Build file D:\Apache2\forrest\main\build.xml Use 'build.[sh|bat] -projecthelp' to see other options. Build system home ..\tools\ant Build number 13 Project Name Forrest build file Java Version 1.5 Timestamp 200603072123 This is: apache-forrest 0.8-dev--------------------------------------------------------------compile: Compiling 34 source files to D:\Apache2\forrest\build\classesBUILD FAILEDD:\Apache2\forrest\main\build.xml:358: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDKTotal time: 1 second This worked fine with 1.5.0_04 on my old lappy, but not with 1.5.0_06 on this one.Path and JAVA_HOME are set.Any ideas or known issues ? Gav...
Possibly you installed a JRE but not a J2SDK?
HTH,
Torsten
