The target should be 11 not 1.11.
Scott
> On Sep 24, 2019, at 8:49 PM, Chris Olsen wrote:
>
> Hello, Everyone --
>
> I have downloaded AdoptOpenJDK, JavaFX 11, and Maven (or so I believe). I
> have waded through getting to zero FX compile errors, and with the clarion
> call of "Excelcior!" I told Apache Netbeans 11.1 to run. This is what I got:
>
>
> Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile)
> on project Splat_Maven: Fatal error compiling: error: invalid target release:
> 1.11 -> [Help 1]
>
>
> I did my due diligence and looked for solutions on line, but nothing I
> found seemed to work. What I'm thinking is that SOMEwhere I must have told
> some file or other that there is another Java 11 in town, but I don't really
> know where I would have said this. (I blew away all my old Java 8 JDKs.
>
> In hopes that this might give someone might have greater than zero clues, I
> am appending some System output below. Any ideas of what and where to look
> for solutions and/or suggestions for how to proceed are very welcome! I'm
> running this on Windows 7, but my Windows 10 laptop gives the same "invalid
> target release" message.
>
> Thanks in advance...
>
> -- Chris Olsen
>
>
>
> Echo %JAVA_HOME%:
>
> C:\Program Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot\
>
> Echo %MAVEN_HOME%:
>
> c:\Program Files\Maven\apache-maven-3.6.2-bin\apache-maven-3.6.2\bin
>
>
> Path:
>
> C:\Program
> Files\AdoptOpenJDK\jdk-11.0.4.11-hotspot\bin;C:\ProgramData\Oracle\Java\javapath;C:\Program
> Files
> (x86)\CambridgeSoft\ChemOffice2015\ChemScript\Lib;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Anaconda3;C:\Anaconda3\Scripts;C:\Program
> Files\MATLAB\R2015a\bin;c:\Program Files (x86)\Microsoft SQL
> Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
> Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL
> Server\100\DTS\Binn\;C:\PROGRAM FILES\OPENOFFICE.ORG 3\URE\BIN; C:\PROGRAM
> FILES (X86)\OPENOFFICE.ORG 3\URE\BIN;C:\Program
> Files\SASHome\Secure\ccme4;C:\Program
> Files\SASHome\x86\Secure\ccme4;C:\Program Files (x86)\Skype\Phone\;
> c:\Program Files (x86)\Inno Setup 5;C:\Program Files
> (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\SMLNJ\bin\;%JAVA_HOME%\bin;
> C:\Program Files\Java\jdk-11\bin;c:\Program
> Files\Maven\apache-maven-3.6.2-bin\apache-maven-3.6.2\bin
>
> -
>
> -
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists