fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 133 forks source link

One or more registry entries have no key and/or value name #356

Closed lhDream closed 1 year ago

lhDream commented 1 year ago

image

My "valueName" and "valueData" are empty characters, which is feasible in Inno setup.

image https://jrsoftware.org/ishelp/

fvarrui commented 1 year ago

Hi @lhDream! Which JP version are you using?

fvarrui commented 1 year ago

Maybe this issue is related to https://github.com/fvarrui/JavaPackager/issues/341

lhDream commented 1 year ago

Hi @lhDream! Which JP version are you using?

1.7.2

fvarrui commented 1 year ago

Please, try 1.7.3 ... If the problem persists, I'll code a patch

lhDream commented 1 year ago

Hi @fvarrui After using the new version, new problems appeared. image

lhDream commented 1 year ago

I have tried to configure jdkPath, but it will still use java8 and java17

fvarrui commented 1 year ago

Set both jdkPath and packagingJdk. The last one is for jlink and jdeps. jdkPath is for finding modules

fvarrui commented 1 year ago

Maybe it should be improved to add some coherence

lhDream commented 1 year ago

Please, try 1.7.3 ... If the problem persists, I'll code a patch

Good ! Solved.