JDK 19 vs JDK 21

Sagenut

Expert
Licensed User
Longtime User
When developing with B4J using JDK 19 I always get some alerts from Windows Defender.
We know that this it's a false positive, but this make problematic to distribute standalone package to others.
I tried using JDK 21, that I would prefer even because it's an LTS (Long Term Support) version and I get no alerts anymore.
Did you notice the same thing or is it only me?
 

Magma

Expert
Licensed User
Longtime User
When developing with B4J using JDK 19 I always get some alerts from Windows Defender.
We know that this it's a false positive, but this make problematic to distribute standalone package to others.
I tried using JDK 21, that I would prefer even because it's an LTS (Long Term Support) version and I get no alerts anymore.
Did you notice the same thing or is it only me?
Hi there... i didn;t notice any "alert" from Windows Defender.. using jdk 19

do you run any specific code... that displaying you something ?
can you post a screenshot or something to understand what is going on... ?
 

Sagenut

Expert
Licensed User
Longtime User
Hi there... i didn;t notice any "alert" from Windows Defender.. using jdk 19

do you run any specific code... that displaying you something ?
can you post a screenshot or something to understand what is going on... ?
Unluckily I was not able to understand if some action was taken.
I just got the notification that something was done but I was not finding what was done.
I will inspect further.
I do not use B4J often.
Anyway I think that I will stay on JDK 21 because it will be patched for some more years, while JDK 19 has been abandoned.
 

Magma

Expert
Licensed User
Longtime User
Unluckily I was not able to understand if some action was taken.
I just got the notification that something was done but I was not finding what was done.
I will inspect further.
I do not use B4J often.
Anyway I think that I will stay on JDK 21 because it will be patched for some more years, while JDK 19 has been abandoned.
Which version of windows running ?

ps: I am working on windows 10..
 

Sagenut

Expert
Licensed User
Longtime User
Windows 10
 

peacemaker

Expert
Licensed User
Longtime User
Maybe is it related to the signing the .EXE-installer (from Inno Setup) ?

There are some utilities to make sign:

Windows .bat-file:
FGSignCode.exe -file:setup_file.exe -pfxpath:author_cert_2024.pfx -pfxpwd=Author -tsurl=http://timestamp.digicert.com

signtool.exe sign /fd SHA256 /d "Author" /du "https://author_website.com/" /f "P:\path_to\author_cert_2024.pfx" /p "Author" /t "http://timestamp.globalsign.com/scripts/timstamp.dll" /v "P:\path_to\setup_file.exe"
 
Top