<div dir="ltr">Hi,<br><br>I am about to switch a JavaFX project from JDK21 to JDK25 and I noticed a problem when running jpackage.<br><br>My domain has a hyphen, like in <a href="http://www.my-domain.com">www.my-domain.com</a><br>Hence, my Java package reads like this: com.my_domain.project<br>Note: hyphen becomes underscore.<br><br>Running vanilla jpackage in JDK21 complained with<br>Invalid Mac-Bundle-ID [com.my_domain.project]<br><div>due to the *invalid* underscore and suggests me to use "--mac-package-identifier"</div><div><br></div><div>Hence, I added --mac-package-identifier
com.my-domain.project (with the hyphen again)</div><div>All good so far.</div><div><br></div><div>Running the same code with JDK25 with the above settings shows the error message again</div><div>
Invalid Mac-Bundle-ID [com.my_domain.project] </div><div><br></div><div>I can add any argument to 
--mac-package-identifier</div><div>It seems it is simply not taken into account.</div><div><br></div><div>I am using JDK 25.0.1</div><div><br></div><div>Is this a known issue with JDK25 and jpackage?</div><div>Is there any other way to make jpackage work?</div><div><br></div><div>Thanks,</div><div><br></div><div>-- Daniel</div><div><br></div><div><br></div></div>