Menu

#56 Embedded JRE is not used when launching davmail from outside it's installation directory

v6.0.0
open
nobody
None
5
2023-03-25
2021-08-26
Toomas Aas
No

I installed davmail 6.0.0 on Linux and installed the Azul JDK with command
./davmail azul

When I cd to davmail installation directory and launch ./davmail from there, everything works great. However, the way I normally launch davmail is from .desktop file which resides in ~/.config/autostart, so it gets started automatically when I log in to KDE. In this case the embedded JRE is not found and davmail is launched by the system-wide JDK.

The attached patch makes sure that embedded JRE is used on launching davmail even if current working directory is not davmail installation directory.

1 Attachments

Discussion

  • Mickael Guessant

    Will look into this, thanks for your contribution

     
  • Mickael Guessant

    Improved version of this patch merged

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.