Menu

#394 v6.0.0 fails to startup on Win10

v6.0.0
open
nobody
None
5
2021-07-14
2021-07-05
No

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)

Discussion

  • Masanori Miyoshi

    Error message as attached.

     
  • Daniel Wróblewski

    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.

    C:>java -version
    openjdk version "16.0.1" 2021-04-20
    OpenJDK Runtime Environment Zulu16.30+15-CA (build 16.0.1+9)
    OpenJDK 64-Bit Server VM Zulu16.30+15-CA (build 16.0.1+9, mixed mode, sharing)

    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
  • Masanori Miyoshi

    I created davmail64.ini to specify the VM location:

    vm.location=%JAVA_HOME%
    

    and still got the following output:

    C:\Program Files\DavMail>[info] Module Name: C:\Program Files\DavMail\davmail64.exe
    [info] Module INI: C:\Program Files\DavMail\davmail64.ini
    [info] Module Dir: C:\Program Files\DavMail\
    [info] INI Dir: C:\Program Files\DavMail\
    [info] Configured vm.location: C:\Program Files\Java\jre1.8.0_291
    [info] Found VM: C:\Program Files\Java\jre1.8.0_291
    [info] Expanding Classpath: davmail.jar
    [info] Expanding Classpath: lib/activation-1.1.1.jar
    [info] Expanding Classpath: lib/commons-codec-1.11.jar
    [info] Expanding Classpath: lib/commons-collections-3.1.jar
    [info] Expanding Classpath: lib/commons-logging-1.0.4.jar
    [info] Expanding Classpath: lib/htmlcleaner-2.21.jar
    [info] Expanding Classpath: lib/httpclient-4.5.6.jar
    [info] Expanding Classpath: lib/httpcore-4.4.10.jar
    [info] Expanding Classpath: lib/jackrabbit-webdav-2.14.6.jar
    [info] Expanding Classpath: lib/javax.mail-1.5.6.jar
    [info] Expanding Classpath: lib/jcharset-2.0.jar
    [info] Expanding Classpath: lib/jcifs-1.3.14.jar
    [info] Expanding Classpath: lib/jdom-1.0.jar
    [info] Expanding Classpath: lib/jettison-1.4.0.jar
    [info] Expanding Classpath: lib/log4j-1.2.16.jar
    [info] Expanding Classpath: lib/slf4j-api-1.7.25.jar
    [info] Expanding Classpath: lib/slf4j-log4j12-1.7.25.jar
    [info] Expanding Classpath: lib/stax-api-1.0.1.jar
    [info] Expanding Classpath: lib/stax2-api-3.1.1.jar
    [info] Expanding Classpath: lib/winrun4j-0.4.5.jar
    [info] Expanding Classpath: lib/woodstox-core-6.2.0.jar
    [info] Generated Classpath: C:\Program Files\DavMail\davmail.jar;C:\Program Files\DavMail\lib\activation-1.1.1.jar;C:\Program Files\DavMail\lib\commons-codec-1.11.jar;C:\Program Files\DavMail\lib\commons-collections-3.1.jar;C:\Program Files\DavMail\lib\commons-logging-1.0.4.jar;C:\Program Files\DavMail\lib\htmlcleaner-2.21.jar;C:\Program Files\DavMail\lib\httpclient-4.5.6.jar;C:\Program Files\DavMail\lib\httpcore-4.4.10.jar;C:\Program Files\DavMail\lib\jackrabbit-webdav-2.14.6.jar;C:\Program Files\DavMail\lib\javax.mail-1.5.6.jar;C:\Program Files\DavMail\lib\jcharset-2.0.jar;C:\Program Files\DavMail\lib\jcifs-1.3.14.jar;C:\Program Files\DavMail\lib\jdom-1.0.jar;C:\Program Files\DavMail\lib\jettison-1.4.0.jar;C:\Program Files\DavMail\lib\log4j-1.2.16.jar;C:\Program Files\DavMail\lib\slf4j-api-1.7.25.jar;C:\Program Files\DavMail\lib\slf4j-log4j12-1.7.25.jar;C:\Program Files\DavMail\lib\stax-api-1.0.1.jar;C:\Program Files\DavMail\lib\stax2-api-3.1.1.jar;C:\Program Files\DavMail\lib\winrun4j-0.4.5.jar;C:\Program Files\DavMail\lib\woodstox-core-6.2.0.jar
    [info] VM Args:
    [info] vmarg.0=-Dsun.net.inetaddr.ttl=60
    [info] vmarg.1=-XmX512M
    [info] vmarg.2=--add-exports
    [info] vmarg.3=java.base/sun.net.www.protocol.https=ALL-UNNAMED
    [info] vmarg.4=-Djava.class.path=C:\Program Files\DavMail\davmail.jar;C:\Program Files\DavMail\lib\activation-1.1.1.jar;C:\Program Files\DavMail\lib\commons-codec-1.11.jar;C:\Program Files\DavMail\lib\commons-collections-3.1.jar;C:\Program Files\DavMail\lib\commons-logging-
     [err] ERROR: Could not load library: C:\Program Files\Java\jre1.8.0_291
     [err] Java failed to startup successfully, please install Java (64-bit) from http://java.com/en/download/manual.jsp
    

    The "standalone" zip seems to work though.

     
  • Glenn Burson

    Glenn Burson - 2021-07-09

    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.

     
  • Mickael Guessant

    Regression probably related to changes introduced for standalone package:

    ini.override=true
    vm.location=./jre/bin/server/jvm.dll
    vm.sysfirst=true
    

    => please try removing all those lines
    => to force vm.location you need path to jvm.dll, not JAVA_HOME

     
    • Masanori Miyoshi

      The ini file is not created during install so I can't test if removing those lines works.
      Pointing to the jvm.dll worked.

       
  • Glenn Burson

    Glenn Burson - 2021-07-12

    I re-installed version 6.0.0-3375 and created the file 'davmail64.ini' in DavMail's installation directory with the single line:

    vm.location=C:\Program Files\Java\jre1.8.0_291\bin\server\jvm.dll
    

    This worked. DavMail64 launches without error.

     
    • Daniel Wróblewski

      Your method worked straight away.

       
    • Carsten Hütter

      Carsten Hütter - 2021-07-14

      Can confirm that it works. Thank you!

       

Log in to post a comment.