On 2024-04-05 3 h 04 a.m., Alexandre Rossi wrote:
Hi,

Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: superclass 
access check failed: class davmail.exchange.auth.O365InteractiveAuthenticatorFrame$2 (in 
unnamed module @0x112d0a71) cannot access class sun.net.www.protocol.https.Handler (in 
module java.base) because module java.base does not export sun.net.www.protocol.https to 
unnamed module @0x112d0a71

Upstream points out that davmail should be launched with:

$ /usr/bin/java \
      -Xmx512M -Dsun.net.inetaddr.ttl=60 \
      --add-exports java.base/sun.net.www.protocol.https=ALL-UNNAMED \
      -jar /usr/share/davmail/davmail.jar

Do you confirm this fixes the problem?

Hi,

Thanks for the follow up.

Yes, that does fix the issue!

--
  ⢀⣴⠾⠻⢶⣦⠀
  ⣾⠁⢠⠒⠀⣿⡁  Louis-Philippe Véronneau
  ⢿⡄⠘⠷⠚⠋   po...@debian.org / veronneau.org
  ⠈⠳⣄

Attachment: OpenPGP_0xE1E5457C8BAD4113.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to