On WindowsXP workstation...

1.  I installed JDK1.5 to C:\jdk1.5.0_19

2.  I have set the settings.xml for Maven to point jdk.5 to C:\jdk1.5.0_19

3.  I had JDK 1.6 installed on my workstation, then uninstalled it.

4.  At the command line, I did set JAVA_HOME= C:\jdk1.5.0_19

5.  When I try to run the command mvn clean install ......

I still get the following build error: 

[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  C:\jdk1.5.0_19\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

Please, any advice on how to get this to work?  I only wanted to get some
kind of Trinidad examples demo WAR file, but I cannot even seem to find a
properly working version of it at Apache.  I thought that perhaps if I
download the entire Trinidad trunk via SVN, then attempt to build via MVN,
I'd get a working demo example.  What would be very helpful is to see a demo
of various user controls that includes the actual JSF source (the irian.net
examples do not seem to feature this).

Thanks,

Mike Quentel


Reply via email to