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
,
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
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
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
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:
>>
; 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
>>
>> 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
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:
>
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
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
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
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:
>
>
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
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
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
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
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
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
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
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
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
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
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
23 matches
Mail list logo