hey mike,

I think it is the issue with the JDK profiles.

See my commit (I enabled it again, after I screwed it up before):
http://svn.apache.org/viewvc?view=rev&revision=781495

and the pom.xml has some information as well:
http://svn.apache.org/viewvc/myfaces/trinidad/trunk/pom.xml

(search for the "allow people that use Java6 (or above) as their" section)

On Thu, Jun 4, 2009 at 3:55 PM, Mike Quentel <[email protected]> wrote:
> 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
>
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to