OpenJFX support for 32-bit systems
I would like to build my JavaFX app for Windows x86 arch. So I've downloaded Adopt OpenJdk 32-bit build and used it to create Java Runtime Image. When I'm trying to run application I get the following error:
Loading library api-ms-win-core-console-l1-1-0 from resource failed: java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
This error occurs because openjfx:javafx-graphics artifact is platform dependent and it includes DLLs compiled for 64-bit arch.
$ file api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-console-l1-1-0.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
There is no 32-bit OpenJFX version in Maven Central.
Is it possible to get x86 version somewhere? Or how can I build it by myself?
java openjfx
add a comment |
I would like to build my JavaFX app for Windows x86 arch. So I've downloaded Adopt OpenJdk 32-bit build and used it to create Java Runtime Image. When I'm trying to run application I get the following error:
Loading library api-ms-win-core-console-l1-1-0 from resource failed: java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
This error occurs because openjfx:javafx-graphics artifact is platform dependent and it includes DLLs compiled for 64-bit arch.
$ file api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-console-l1-1-0.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
There is no 32-bit OpenJFX version in Maven Central.
Is it possible to get x86 version somewhere? Or how can I build it by myself?
java openjfx
add a comment |
I would like to build my JavaFX app for Windows x86 arch. So I've downloaded Adopt OpenJdk 32-bit build and used it to create Java Runtime Image. When I'm trying to run application I get the following error:
Loading library api-ms-win-core-console-l1-1-0 from resource failed: java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
This error occurs because openjfx:javafx-graphics artifact is platform dependent and it includes DLLs compiled for 64-bit arch.
$ file api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-console-l1-1-0.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
There is no 32-bit OpenJFX version in Maven Central.
Is it possible to get x86 version somewhere? Or how can I build it by myself?
java openjfx
I would like to build my JavaFX app for Windows x86 arch. So I've downloaded Adopt OpenJdk 32-bit build and used it to create Java Runtime Image. When I'm trying to run application I get the following error:
Loading library api-ms-win-core-console-l1-1-0 from resource failed: java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
java.lang.UnsatisfiedLinkError: C:Usersadmin01.openjfxcache11.0.1api-ms-win-core-console-l1-1-0.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
This error occurs because openjfx:javafx-graphics artifact is platform dependent and it includes DLLs compiled for 64-bit arch.
$ file api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-console-l1-1-0.dll: PE32+ executable (DLL) (console) x86-64, for MS Windows
There is no 32-bit OpenJFX version in Maven Central.
Is it possible to get x86 version somewhere? Or how can I build it by myself?
java openjfx
java openjfx
asked Jan 14 at 10:38
EvanEvan
627
627
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You could try building it yourself.
Documentation including instructions can be found here:
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
The instructions did not work flawlessly (at least for me).
I had to install the DirectX SDK (from June 2010) and I had to set some more environment variables (WINSDK_DIR and DXSDK_DIR).
Additional information on the build process in general can also be found here:
https://github.com/SkyLandTW/OpenJFX-binary-windows)
For my setup I had to also pass some gradle properties, so my call looked like this:gradle clean sdk --no-daemon -PWINDOWS_SDK_VERSION=10.0.17763.0 -PWINDOWS_VS_VSINSTALLDIR="C:Program Files (x86)Microsoft Visual Studio2017Community"
However, note that the "Building OpenJFX" page (see link above) stats a "64-bit OS" as windows platform prerequisites, so 32-bit OpenJFX builds are most probably not officially supported right now...
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54179851%2fopenjfx-support-for-32-bit-systems%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You could try building it yourself.
Documentation including instructions can be found here:
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
The instructions did not work flawlessly (at least for me).
I had to install the DirectX SDK (from June 2010) and I had to set some more environment variables (WINSDK_DIR and DXSDK_DIR).
Additional information on the build process in general can also be found here:
https://github.com/SkyLandTW/OpenJFX-binary-windows)
For my setup I had to also pass some gradle properties, so my call looked like this:gradle clean sdk --no-daemon -PWINDOWS_SDK_VERSION=10.0.17763.0 -PWINDOWS_VS_VSINSTALLDIR="C:Program Files (x86)Microsoft Visual Studio2017Community"
However, note that the "Building OpenJFX" page (see link above) stats a "64-bit OS" as windows platform prerequisites, so 32-bit OpenJFX builds are most probably not officially supported right now...
add a comment |
You could try building it yourself.
Documentation including instructions can be found here:
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
The instructions did not work flawlessly (at least for me).
I had to install the DirectX SDK (from June 2010) and I had to set some more environment variables (WINSDK_DIR and DXSDK_DIR).
Additional information on the build process in general can also be found here:
https://github.com/SkyLandTW/OpenJFX-binary-windows)
For my setup I had to also pass some gradle properties, so my call looked like this:gradle clean sdk --no-daemon -PWINDOWS_SDK_VERSION=10.0.17763.0 -PWINDOWS_VS_VSINSTALLDIR="C:Program Files (x86)Microsoft Visual Studio2017Community"
However, note that the "Building OpenJFX" page (see link above) stats a "64-bit OS" as windows platform prerequisites, so 32-bit OpenJFX builds are most probably not officially supported right now...
add a comment |
You could try building it yourself.
Documentation including instructions can be found here:
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
The instructions did not work flawlessly (at least for me).
I had to install the DirectX SDK (from June 2010) and I had to set some more environment variables (WINSDK_DIR and DXSDK_DIR).
Additional information on the build process in general can also be found here:
https://github.com/SkyLandTW/OpenJFX-binary-windows)
For my setup I had to also pass some gradle properties, so my call looked like this:gradle clean sdk --no-daemon -PWINDOWS_SDK_VERSION=10.0.17763.0 -PWINDOWS_VS_VSINSTALLDIR="C:Program Files (x86)Microsoft Visual Studio2017Community"
However, note that the "Building OpenJFX" page (see link above) stats a "64-bit OS" as windows platform prerequisites, so 32-bit OpenJFX builds are most probably not officially supported right now...
You could try building it yourself.
Documentation including instructions can be found here:
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX
The instructions did not work flawlessly (at least for me).
I had to install the DirectX SDK (from June 2010) and I had to set some more environment variables (WINSDK_DIR and DXSDK_DIR).
Additional information on the build process in general can also be found here:
https://github.com/SkyLandTW/OpenJFX-binary-windows)
For my setup I had to also pass some gradle properties, so my call looked like this:gradle clean sdk --no-daemon -PWINDOWS_SDK_VERSION=10.0.17763.0 -PWINDOWS_VS_VSINSTALLDIR="C:Program Files (x86)Microsoft Visual Studio2017Community"
However, note that the "Building OpenJFX" page (see link above) stats a "64-bit OS" as windows platform prerequisites, so 32-bit OpenJFX builds are most probably not officially supported right now...
answered Jan 18 at 11:53
Nikolaus KrismerNikolaus Krismer
343
343
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54179851%2fopenjfx-support-for-32-bit-systems%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown