You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wim Deblauwe <wi...@gmail.com> on 2006/11/08 10:54:56 UTC

Re: JDK 1.5 Problem

See http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

2006/11/8, David Lund <da...@2ergo.com>:
>
> JDK Problem :
>
> Im using Ubuntu Dapper Drake v6.06.
>
> I have an existing project that I'm trying to convert to maven2 from
> ant. However, I'm having JDK issues, basically its compiling in JDK 1.3
> rather than 1.5, see error below:
>
> LinkGroup.java:[16,25] generics are not supported in -source 1.3
> (try -source 1.5 to enable generics)
>         public Collection<ContentLink> getEntities();
>
> I have set the JAVA_HOME variable to point to JDK 1.5, however the
> interesting thing is I dont have java 1.3 installed so I dont know where
> its picking that version up from. Could this be a Unbuntu problem, as I
> noticed Maven2 hadn't been tested on it.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: JDK 1.5 Problem

Posted by Wendy Smoak <ws...@gmail.com>.
On 11/8/06, Wim Deblauwe <wi...@gmail.com> wrote:

> See http://maven.apache.org/plugins/maven-compiler-plugin/howto.html

In the new plugin docs, that page was replaced by:
http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org