v6.0.0 fails to startup on Win10
Brought to you by:
mguessan
Installed davmail v6.0.0 on Windows 10 but it fails to startup due to JRE not found.
v5.5.1 works without any problem.
C:\>java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode)
Error message as attached.
Can confirm, on Win10 x64 Version 10.0.19043.1081 DavMail 6.0.0 in not starting - Java missing.
Just before 6.0.0 I was using 5.5.1 and there was no problem, just uninstalled 5.5.1 and installed 6.0.0 as usually made this way.
I even tried to check with Azul Zulu Builds, no change.
Small update: I installed 32bit Java and DavMail and that started right away and seems to be working fine.
Last edit: Daniel Wróblewski 2021-07-06
I created davmail64.ini to specify the VM location:
and still got the following output:
The "standalone" zip seems to work though.
I can confirm this for Windows 7 64-bit as well. I have 32-bit and 64-bit Java 8.0.2910.10 installed. Re-installed 5.5.1-3299, which runs without problem.
Regression probably related to changes introduced for standalone package:
=> please try removing all those lines
=> to force vm.location you need path to jvm.dll, not JAVA_HOME
The ini file is not created during install so I can't test if removing those lines works.
Pointing to the jvm.dll worked.
I re-installed version 6.0.0-3375 and created the file 'davmail64.ini' in DavMail's installation directory with the single line:
This worked. DavMail64 launches without error.
Your method worked straight away.
Can confirm that it works. Thank you!