Re: Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
Am 09.10.2019 um 20:03 schrieb Neil C Smith: > On Wed, 9 Oct 2019 at 18:57, Helmut Leininger wrote: >> Setting Compile on Save to OFF did the trick. > Great! Think that's caused by the issue with shipping the right > nb-javac that's delaying beta3. > >> User directory: C:\Users\hl\AppData\Roamin

Re: Problem running application with --enable-preview

2019-10-09 Thread Neil C Smith
On Wed, 9 Oct 2019 at 18:57, Helmut Leininger wrote: > Setting Compile on Save to OFF did the trick. Great! Think that's caused by the issue with shipping the right nb-javac that's delaying beta3. > User directory: C:\Users\hl\AppData\Roaming\NetBeans\11.0 > > Even if I delete it and restart Ne

Re: Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
Neil, Setting Compile on Save to OFF did the trick. > User directory: C:\Users\hl\AppData\Roaming\NetBeans\11.0 Even if I delete it and restart Netbeans, it is recreated (and not ...\11.2-beta2) Regards Am 09.10.2019 um 19:21 schrieb Neil C Smith: > On Wed, 9 Oct 2019 at 14:57, Helmut Leining

Re: Problem running application with --enable-preview

2019-10-09 Thread Neil C Smith
On Wed, 9 Oct 2019 at 14:57, Helmut Leininger wrote: > 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

Re: Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
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 1

Re: Problem running application with --enable-preview

2019-10-09 Thread Geertjan Wielenga
https://www.youtube.com/watch?v=ciK5qzJsSTc Hope it helps, Gj On Wed, Oct 9, 2019 at 3:57 PM Helmut Leininger 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 fail

Problem running application with --enable-preview

2019-10-09 Thread Helmut Leininger
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.