Just a guess: you have in the classpath, first a JRE 11, then a JDK 17. The first one provides the java, but does not have a javac, which is being provided by Java 17 instead.
Cheers Andrea On Wed, Jul 19, 2023 at 9:24 AM Ian Turton <ijtur...@gmail.com> wrote: > > > On Tue, 18 Jul 2023 at 18:53, Jody Garnett <jody.garn...@gmail.com> wrote: > >> Ian, the same test works for me locally. I expect you are mixing up java >> compilers on your local machine when testing. >> > > You're right I do seem to be using Javac 17 and Java 11 - no idea why > though. > > Ian > >> >> The rest of the bin download looks fine, although the footer says © >> Copyright 2021, Open Source Geospatial Foundation >> -- >> Jody Garnett >> >> >> On Jul 18, 2023 at 9:44:34 AM, Jody Garnett <jody.garn...@gmail.com> >> wrote: >> >>> Is there chance you compiled Quickstart.java with Java 17 on line one? >>> -- >>> Jody Garnett >>> >>> >>> On Jul 18, 2023 at 9:25:48 AM, Ian Turton <ijtur...@gmail.com> wrote: >>> >>>> I've run into the following issue: >>>> >>>> javac -cp "lib/*" -d bin >>>> src/org/geotools/tutorial/quickstart/Quickstart.java >>>> java -cp "lib/*:bin" org.geotools.tutorial.quickstart.Quickstart >>>> Error: LinkageError occurred while loading main class >>>> org.geotools.tutorial.quickstart.Quickstart >>>> java.lang.UnsupportedClassVersionError: >>>> org/geotools/tutorial/quickstart/Quickstart has been compiled by a more >>>> recent version of the Java Runtime (class file version 61.0), this version >>>> of the Java Runtime only recognizes class file versions up to 55.0 >>>> >>>> Not sure if I need to update my Java? >>>> java --version >>>> openjdk 11.0.19 2023-04-18 >>>> OpenJDK Runtime Environment (build >>>> 11.0.19+7-post-Ubuntu-0ubuntu122.04.1) >>>> OpenJDK 64-Bit Server VM (build 11.0.19+7-post-Ubuntu-0ubuntu122.04.1, >>>> mixed mode, sharing) >>>> >>>> Or the build server is using Java17? the release job config claims to >>>> be using 11.04 >>>> >>>> Can anyone throw any light on this? >>>> >>>> Ian >>>> >>>> On Tue, 18 Jul 2023 at 16:44, Jody Garnett <jody.garn...@gmail.com> >>>> wrote: >>>> >>>>> Oh hey Ian cool :) >>>>> >>>>> I was not aware we had a volunteer for the release this month. I would >>>>> like to join you to test the geoserver release announcement script , and >>>>> can make the GWC release if needed. >>>>> >>>>> Jody >>>>> >>>>> On Tue, Jul 18, 2023 at 5:57 AM Ian Turton <ijtur...@gmail.com> wrote: >>>>> >>>>>> Goto >>>>>> https://build.geoserver.org/view/release/job/geotools-release/99/artifact/build/release/distribution/29.2/ >>>>>> >>>>>> Ian >>>>>> >>>>>> -- >>>>>> Ian Turton >>>>>> _______________________________________________ >>>>>> GeoTools-Devel mailing list >>>>>> GeoTools-Devel@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/geotools-devel >>>>>> >>>>> -- >>>>> -- >>>>> Jody Garnett >>>>> >>>> >>>> >>>> -- >>>> Ian Turton >>>> >>> > > -- > Ian Turton > _______________________________________________ > GeoTools-Devel mailing list > GeoTools-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-devel > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel