Re: What is this issue with java.util.zip.CRC32C?

Jens Zurawski <[email protected]>
Newsgroups gmane.comp.java.ide.netbeans.user
Message-ID <[email protected]>
Hi Maciej,

thanks for your reply.

I've tried now with JDK 21 (which is LTS, right?), my source level is 17.
Sadly, no success either. The messages keep coming.

cu
Jens

Am 06.06.2025 um 13:26 schrieb Maciej Jaros:
> I had a project like this. You should probably build with a more 
> stable Java (LTS), and closer to your project's target Java. So 
> probably JDK LTS. So for example JDK11:
> https://adoptium.net/temurin/releases/?os=any&arch=any&version=11
>
> So in short I wouldn't build with Java that comes with NB.
>
> Cheers,
> Maciej Nux
>
> Jens Zurawski (2025-06-06 13:14):
>> Hi Neil,
>>
>> thanks for your quick reply.
>>
>> It's a long living project which I started years ago (Netbeans 12.3 
>> with Java 8 was the first incarnation) and is a Maven Java EE 8 
>> Project (Migration to Jakarta EE is planned, but will take some 
>> time). It has grown throughout diverse Versions NB15, NB21, NB24, 
>> NB25, java 11, java 15, java 17. Maybe it's some artifact which is 
>> coming from this update path?
>>
>> Apart from that, I think my Environment ist ok so far. The current 
>> project in NB26 is taking the bundled jdk 24 as build platform. I 
>> have some more JDKs in the Tools / Java Platforms. I think it's from 
>> these updates, since I have no real use for these old versions any 
>> more. I have an open jdk 15.0.2, a open jdk 21.0.3 and a Zulu 17.0.9 
>> additional to the bundled JDK 24.
>>
>> I will try to remove them from the Java platforms and check if the 
>> problem persists.
>>
>> cu
>> Jens
>>
>>
>> Am 06.06.2025 um 12:52 schrieb Neil C Smith:
>>> Hi,
>>>
>>> On Fri, 6 Jun 2025 at 11:42, Jens Zurawski <[email protected]> wrote:
>>>> I have absolutely no clue what this message tries to tell me. I'm not
>>>> using/referencing java.util.zip.* anywhere in these projects. What has
>>>> java.util.zip.CRC32C to do with the source level? And how can I solve
>>>> this issue?
>>> This line comes from here -
>>> https://github.com/apache/netbeans/blob/master/java/java.source.base/src/org/netbeans/modules/java/source/parsing/JavacParser.java#L1190 
>>>
>>>
>>> What project type / build system are you using?  Have you configured
>>> the project to use an alternative JDK?
>>>
>>> Check the project properties for the Java Platform, and in Tools /
>>> Java Platforms, for a broken JDK registration, which is a possible
>>> cause for this.
>>>
>>> Best wishes,
>>>
>>> Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.