Embedded JRE is not used when launching davmail from outside it's...
Brought to you by:
mguessan
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.
Will look into this, thanks for your contribution
Improved version of this patch merged