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

2019-07-05 Thread Geertjan Wielenga
lved this issue. > So I'd recommend to install Java 8 inside of the ide as Tools > Java > Platforms, then change to that platform in the project settings. > In order to solve the original issue we would need real logs. Just execute > the ant build in debug mode, then send the

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

2019-07-05 Thread Peter Toye
, then change to that platform in the project settings. In order to solve the original issue we would need real logs. Just execute the ant build in debug mode, then send the debug output. I'm sorry, but screenshot won't help in this case. On 7/4/19 3:11 AM, Peter Toye wrote: Re: ...an

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

2019-07-04 Thread Laszlo Kishalmi
help in this case. On 7/4/19 3:11 AM, Peter Toye wrote: Re: ...and now I can't build Dear Laszlo, Yes - that was my point. I had opened the project (well, a copy of it so as not to disturb the original which works in NB version 8) in NB 11 and gone through the error resolution. Changing the

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

2019-07-04 Thread Peter Toye
ached screenshot. Best regards, Peter mailto:netbe...@ptoye.com www.ptoye.com - Monday, July 1, 2019, 4:07:34 PM, you wrote: 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 propertie

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

2019-07-04 Thread Geertjan Wielenga
ject folder, where >> you’ll find the project.properties file? >> >> There you will find javac.source and javac.target, which you can set >> directly within that file. >> >> Gj >> >> >> >> >> On Thu, 4 Jul 2019 at 12:11, Peter Toye wrote: >>

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

2019-07-04 Thread Geertjan Wielenga
; Yes - that was my point. I had opened the project (well, a copy of it so > as not to disturb the original which works in NB version 8) in NB 11 and > gone through the error resolution. Changing the source/target to JDK8 > doesn't change anything - see attached screenshot. > > Best regards, > > Peter

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

2019-07-04 Thread Geertjan Wielenga
>> >> Dear Laszlo, >> >> Yes - that was my point. I had opened the project (well, a copy of it so >> as not to disturb the original which works in NB version 8) in NB 11 and >> gone through the error resolution. Changing the source/target to JDK8 >> doe

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

2019-07-04 Thread Geertjan Wielenga
the error resolution. Changing the source/target to JDK8 > doesn't change anything - see attached screenshot. > > Best regards, > > Peter > mailto:netbe...@ptoye.com > www.ptoye.com > > - > Monday, July 1, 2019, 4:07:34 PM, you wrote: >

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

2019-07-04 Thread Peter Toye
ou wrote: 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 som

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

2019-07-04 Thread Geertjan Wielenga
sn't change anything - see attached screenshot. > > Best regards, > > Peter > mailto:netbe...@ptoye.com > www.ptoye.com > > - > Monday, July 1, 2019, 4:07:34 PM, you wrote: > > > You might be compiling your old stuff with modern Java. > Either

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

2019-07-04 Thread Peter Toye
n 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 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 -sour

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

2019-07-04 Thread Geertjan Wielenga
t=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 which were resolved OK. > > But it won't build - I get a warning and 2 errors: > >

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

2019-07-04 Thread Peter Toye
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 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: Sou

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

2019-07-02 Thread Peter Toye
Dear Geertjan and Laszlo, Thanks both for the help. But the source/binary field was already set to JDK12 (see the screenshot in my email of 12:01 yesterday). It's very odd. I tried again yesterday after getting Geertjan's email and it built OK without my changing anything. Then I shut down the

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 e

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: ...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