You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Steve973 <st...@gmail.com> on 2021/12/26 15:44:10 UTC

Some class version errors when building

Hello.  When I am building the Camel Spring Boot project, I get an error
that some classes have been built by a Java 11 JDK, but the current build
requires the classes to have been built by a Java 8 JDK.  Have I missed
something about the appropriate Java/Maven setup for working with the Camel
source code?  This is very easy to get around by doing a "fastinstall", but
that takes a bunch of time if I have to do it daily.

Thanks,
Steve

Re: Some class version errors when building

Posted by Steve973 <st...@gmail.com>.
Ah, ok.  Thank you!  This past week, I just moved my project (at work)
finally from Java 8 to Java 11.  It went much more smoothly than I had
anticipated.  Was it pretty simple with Camel, or were there major
complications?  It will be cool to start using some of the new features of
the language.

Thanks again,
Steve

On Mon, Dec 27, 2021 at 1:06 AM Claus Ibsen <cl...@gmail.com> wrote:

> Hi
>
> Yes Java 8 is dropped, you need to do a full local rebuild, and use Java 11
>
> mvn clean install -P fastinstall
>
>
> On Sun, Dec 26, 2021 at 4:44 PM Steve973 <st...@gmail.com> wrote:
> >
> > Hello.  When I am building the Camel Spring Boot project, I get an error
> > that some classes have been built by a Java 11 JDK, but the current build
> > requires the classes to have been built by a Java 8 JDK.  Have I missed
> > something about the appropriate Java/Maven setup for working with the
> Camel
> > source code?  This is very easy to get around by doing a "fastinstall",
> but
> > that takes a bunch of time if I have to do it daily.
> >
> > Thanks,
> > Steve
>
>
>
> --
> Claus Ibsen
> -----------------
> http://davsclaus.com @davsclaus
> Camel in Action 2: https://www.manning.com/ibsen2
>

Re: Some class version errors when building

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

Yes Java 8 is dropped, you need to do a full local rebuild, and use Java 11

mvn clean install -P fastinstall


On Sun, Dec 26, 2021 at 4:44 PM Steve973 <st...@gmail.com> wrote:
>
> Hello.  When I am building the Camel Spring Boot project, I get an error
> that some classes have been built by a Java 11 JDK, but the current build
> requires the classes to have been built by a Java 8 JDK.  Have I missed
> something about the appropriate Java/Maven setup for working with the Camel
> source code?  This is very easy to get around by doing a "fastinstall", but
> that takes a bunch of time if I have to do it daily.
>
> Thanks,
> Steve



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2