Unfortunately, it does not help too much.

I see two diferences with the video:
1) in the video netbeans is run on Java 1.8, I am running on Java 13
(and I don't know why I should change)
2) in the video it seems to use Maven, I am using Ant (which should not
make a difference)


Am 09.10.2019 um 16:02 schrieb Geertjan Wielenga:
> https://www.youtube.com/watch?v=ciK5qzJsSTc
>
> Hope it helps,
>
> Gj
>
> On Wed, Oct 9, 2019 at 3:57 PM Helmut Leininger <h.leinin...@gmx.at
> <mailto:h.leinin...@gmx.at>> wrote:
>
>     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
>

<<attachment: h_leininger.vcf>>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to