Hi Matt,
> So I guess it's an issue with NetBeans then a) using such an old version
> of maven b) not handle compiler version and minium required
> source/target correctly.
> Guess I just set it to 8, as that's the oldest jdk/vm I still have lay
> around, and don't bother anymore about it.
> Th
So I guess it's an issue with NetBeans then a) using such an old version
of maven b) not handle compiler version and minium required
source/target correctly.
Guess I just set it to 8, as that's the oldest jdk/vm I still have lay
around, and don't bother anymore about it.
Thanks for your replies
Hi,
> Scanning for projects...
(...)
> -
> COMPILATION ERROR :
> -
> Source option 5 is no longer supported. Use 6 or later.
> Target option 1.5 is no longer supported. Use 1.6
You seem to mistake the version of the JDK you're using with the version of
the Java language that your source files are written in and the JRE they
depend on (in terms of available API).
You can very well compile Java 8 sources with a JDK 11 or 13.
If you share your project between machines where
Sorry for the late reply, but I did some testing to make sure it wasn't
me made a stupid mistake.
So, when I clone my current repo and execute an "mvn compile" or "mvn
package" on it without messing around with the pom either all works fine
or I get a failure because the set version is higher th