# jpackage windows 32 bit jre

Kevin Rushforth kevin.rushforth at oracle.com
Fri Jan 25 18:41:39 UTC 2019

jpackage will only support JDK 11 and later. It is not a goal to be able
to embed a JRE from JDK 8. For that you should continue to use the old
javapackager tool that ships with JDK 8. So the fact that it "seems to
work" up to a point is an accident. We should probably check for that
case and fail with an informative error message.

Independent of the above, Windows 32-bit is not a supported platform in
JDK 11 or later so we have not done any testing of running jpackage with
a 32-bit JDK (nor do we intend to).

-- Kevin

On 1/25/2019 10:09 AM, Kustaa Nyholm wrote:
> I tried and succeeded in using the jpackage from jdk13 (not really) to package 32 bit java8 for Windows.
> Everything goes nicely at build time and when I double click the .exe an install is performed,
> however the resulting installed .exe fails with "Failed to find library C:\Program Files\jDraft\runtime\bin\jli.dll"
> But that file is there, though it is a bit suspicious that it is not in the Program Files(x86).
>
> Should it be possible to embed 32 bit JRE or am I doomed to fail?
>
> wbr Kusti
>