this sounds like your project was still configured to use JDK 11 while you tried to bump the language level (?).

JDK version has to be >= language level, which is just a compiler setting (e.g --release=17 won't work on JDK 11 since it doesn't have the API and the compiler for that).

best regards,
michael


On 13.02.23 19:42, Scott Palmer wrote:
That's strange.
How did you configure the JDK for your project?

On Mon, Feb 13, 2023 at 7:52 AM Sean Carrick <s...@pekinsoft.com> wrote:

    Hey, Ernie! I don't mind at all.

    I'm using JDK 11 now. I tried using JDK 19, but it didn't work…the
    compiler kept stating that source level XX is not supported for
    every version from 19 down to 11, so I switched back to 11.

    -SC

    On Sun, Feb 12, 2023, 23:30 Ernie Rael <err...@raelity.com> wrote:

        On 23/02/10 8:38 AM, Sean Carrick wrote:
        >
        > Hey All!
        >
        > I am working on an NBP application and am wondering how I
        can create a
        > custom "Submit Bug Report" action when using the
        ErrorManager or
        > Exceptions APIs.
        >
        Hey Sean,

        Do you mind saying what JRE your NBP app(s) run on?

        -ernie


        ---------------------------------------------------------------------
        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

Reply via email to