Re: ...and now I can't build

2019-07-01 Thread Laszlo Kishalmi
You might be compiling your old stuff with modern Java. Either go back to Java 8 or add javac.source=1.8 and javac.target=1.8 in your project properties. On 7/1/19 1:57 AM, Peter Toye wrote: ...and now I can't build I made a copy of a project in NB 8 and opened it in NB 11. Got some errors wh

Re: ...and now I can't build

2019-07-01 Thread Geertjan Wielenga
I can very clearly see Source/Binary Format in your screenshot in the Sources tab. Gj On Mon, 1 Jul 2019 at 13:01, Peter Toye wrote: > Dear Geertjan, > > I think we're at cross-purposes here. My Project Properties doesn't have > tabs - see the attached screenshot. I tried a new project using Ma

Re: ...and now I can't build

2019-07-01 Thread Peter Toye
Dear Geertjan, I think we're at cross-purposes here. My Project Properties doesn't have tabs - see the attached screenshot. I tried a new project using Maven and that does have tabs. So it seems to be an Ant problem. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com

Re: ...and now I can't build

2019-07-01 Thread Geertjan Wielenga
And in the Project Properties dialog, the first tab you see, named 'Sources', has 'Source/Binary Format' set to JDK 8 by default for me. When I change that to JDK 6, the two properties are changed for me to the following: javac.source=1.6 javac.target=1.6 Thanks, Gj On Mon, Jul 1, 2019 at 12:40

Re: ...and now I can't build

2019-07-01 Thread Geertjan Wielenga
When I create a new Java SE project with Ant in NetBeans, I see these two in 'project.properties', you must have these too: javac.source=1.8 javac.target=1.8 Look in the Files window, in the 'nbproject' folder, to find 'project.properties' file. Gj On Mon, Jul 1, 2019 at 11:57 AM Peter Toye wr

Re: ...and now I can't build

2019-07-01 Thread Peter Toye
Dear Geertjan, To answer both your posts: I can't see any project option which corresponds to "source" or "target" with a value including "6". Which option are you referring to, please? It's a straight Java app using Swing. Generated originally on NB version <=8 (can't remember exactly which v

Re: Another installation issue

2019-07-01 Thread Geertjan Wielenga
Or the other way around, use the installer, in fact, use the 11.1 beta 2 installer and provide feedback on it: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+NetBeans+11.1 Gj On Mon, Jul 1, 2019 at 11:02 AM Geertjan Wielenga wrote: > Or you can unzip the ZIP file and run the execu

Re: Another installation issue

2019-07-01 Thread Geertjan Wielenga
Or you can unzip the ZIP file and run the executable to start NetBeans like that, instead of installing it via an installer. Gj On Sun, Jun 30, 2019 at 6:58 PM Peter Toye wrote: > Dear Geertjan, > > Yes... but it's a pain having to tell it each time that I want to run it. > > Isn't there a way

Re: ...and now I can't build

2019-07-01 Thread Geertjan Wielenga
And what kind of project are we talking about, can you give a lot more details so we can help? Yes, it is Ant-based. But what kind of project type -- a NetBeans Platform application? A Java EE application? An HTML/JavaScript application? What, exactly? Gj On Mon, Jul 1, 2019 at 10:58 AM Geertjan

Re: ...and now I can't build

2019-07-01 Thread Geertjan Wielenga
Look in the Project Properties of your project (right-click it in the Projects window and choose Properties). Gj On Mon, Jul 1, 2019 at 10:57 AM Peter Toye wrote: > I made a copy of a project in NB 8 and opened it in NB 11. Got some errors > which were resolved OK. > > But it won't build - I ge

...and now I can't build

2019-07-01 Thread Peter Toye
I made a copy of a project in NB 8 and opened it in NB 11. Got some errors which were resolved OK. But it won't build - I get a warning and 2 errors: warning: [options] bootstrap class path not set in conjunction with -source 6 error: Source option 6 is no longer supported. Use 7 or later. err