Obsolete Warnings

  • When I compiled a Netbeans project I got these warning. Can anybody explain. It still worked.


    warning: [options] bootstrap class path not set in conjunction with -source 8

    warning: [options] source value 8 is obsolete and will be removed in a future release

    warning: [options] target value 8 is obsolete and will be removed in a future release

    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.

  • This happens if in your project settings (rightclick on the project -> properties -> sources) the "Source/Binary format" is is set to JDK 8. The new Plugin API uses Java 20, so you should change the Source/Binary format to JDK 20 accordingly ;)

  • This happens if in your project settings (rightclick on the project -> properties -> sources) the "Source/Binary format" is is set to JDK 8. The new Plugin API uses Java 20, so you should change the Source/Binary format to JDK 20 accordingly ;)

    Cool. I did use an older project and was trying to convert it. What about the Profile and Encoding setting?

Participate now!

Don’t have an account yet? Create a new account now and be part of our community!