Closed niol closed 7 months ago
To run O356Interactive you need OpenJFX and a custom https connection wrapper.
This connection wrapper does not work with recent java versions unless you set the options:
--add-exports java.base/sun.net.www.protocol.https=ALL-UNNAMED
In your case the options are missing and class loading fails.
On debian I didn't see any recent OpenJFX version (latest is for Java 11).
A workaround is to use platform independent package and download latest Azul JDK with:
./davmail azul
OK this fixes the problem. Is this to be considered as a workaround and there is some more work need to avoid using java private APIs? If not, this can be closed as the problem is solved from a user point of view. Thanks!
You can close the issue. It's not a workaround. It's just how things work.
from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067650
When trying "O365Interactive" mode, the login window is never shown and I get the following stacktrace:
It seems
sun.net.www.protocol.https.Handler
is private API and cannot be used.