Hello, I have been try with 20-rc1 and it works, so waiting for Netbeans 20 impatiently, jeje
Thank you so much Neil Juan Miguel > El 21 oct 2023, a las 14:07, Neil C Smith <neilcsm...@apache.org> escribió: > > On Sat, 21 Oct 2023 at 12:09, Juan Miguel Escribano > <juan.es...@gmail.com> wrote: >> >> Hello! >> >> To be brief. >> >> My system: >> MacBook Pro 16”, Apple M2 pro >> Macos Sonoma 14.0 >> Product Version: Apache NetBeans IDE 19 >> Java: 21.0.1; OpenJDK 64-Bit Server VM 21.0.1+12-LTS >> Runtime: OpenJDK Runtime Environment 21.0.1+12-LTS >> >> My problem: >> I have an Ant project that Netbeans cannot compile. Error message: BUILD >> FAILED (no more) >> >> But I can compile the project from Terminal with: >> >> ./ant -f /Users/juan/NetBeansProjects/contaes4BG >> -Dnb.internal.action.name=build jar >> >> Please, any ideas where to start looking for the error? > > Firstly try 20-rc1 - https://github.com/apache/netbeans/discussions/6581 > > NetBeans 19 doesn't strictly support Java 21. There is also an Ant > upgrade in NB20. Be good to make sure this works in NB20. > > Does the project have compile on save enabled? > > If it doesn't work on NB20, please open an issue with all relevant > information. https://github.com/apache/netbeans/issues > > Best wishes, > > Neil