Hi, I have a small test program using --enable-preview set for compile and run.
The program compiles without error, but whun runnning it from within the IDE, it fails with this error message: Fehler: Beim Laden der Klasse testapachepoi.TestApachePOI ist ein LinkageError aufgetreten java.lang.UnsupportedClassVersionError: testapachepoi/TestApachePOI (class file version 56.65535) was compiled with preview features that are unsupported. This version of the Java Runtime only recognizes preview features for class file version 57.65535 My configuration:* Product Version:* Apache NetBeans IDE 11.2-beta2 *Java:* 13; OpenJDK 64-Bit Server VM 13+33 *Runtime:* OpenJDK Runtime Environment 13+33 *System:* Windows 10 version 10.0 running on amd64; Cp1252; de_AT (nb) *User directory:* C:\Users\hl\AppData\Roaming\NetBeans\11.0 *Cache directory:* C:\Users\hl\AppData\Local\NetBeans\Cache\11.0 Remarks: - The only Java version installed is AdoptOpenJDK 13 - the program can be launched from the command line without any problem. Regards Helmut
signature.asc
Description: OpenPGP digital signature