jnlp launch verification fails with 64 bit swt libraries
The launch has below error.
Java.lang.unsatisfiesLinkError: cannot load 64-bit SWT libraries on 32-bit JVM
5 Replies
This is a problem that currently cannot be solved, it's not just about 64-bit vs 32-bit, but the whole concept of loading binary libraries is simply not supported in the browser
In the future we might be able to support compiling such binary modules from C++ to Wasm, for the sake of loading them. But in the case of SWT they also depend on GTK (If I recall correctly) and hence X11. It would be an extremely large scale project.
Please understand that CheerpJ is intended to run any Java application in the browser, but anything using binary libraries is not so much Java anymore
One thing I'd like to add is that we could explore getting your specific use case to work, but it would be as part of a custom commercial project. Again, [email protected] is the right point of contact if this seems interesting.
I am not using any cpp libraries so not able to follow the cpp to wasm part
The binary component for SWT is a C/C++ library
I know for sure in this case, but that's true for the vast majority of binary components used by Java libraries
So the product as of now does not support swt clients?
Not SWT in particular, any Java library that depends on binary components. Those binary components are compiled for a specific OS/Cpu, for example Windows on Intel
They cannot run on the browser