Skip to content

OpenJDK: JVM_GetLastErrorString not found in zip.dll #1469

Description

@ckeschnat

Description

JVM_GetLastErrorString not found in zip.dll

System Setup

  • Operating system and version: Windows 10 20H2 OS Build 19042.685
  • Cryptomator version: Cryptomator 1.5.11 (exe-190)
  • Volume type: Dokany

Steps to Reproduce

  1. Upgrade to 1.5.11
  2. Open Cryptomator
  3. Errormessage appears

Expected Behavior

No Errormessages appear

Actual Behavior

Errormessages appears

Reproducibility

Always

Additional Information

Functionality does not seem to be impacted. I can use cryptomator fine after clicking "Ok" on the error message.

2020-12-15_18h56_36
cryptomator0.log

Java from ninite.com:

java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode)

[Any additional information, log files, screenshots, configuration, or data that might be necessary to reproduce the issue.]

Activity

  1. overheadhunter commented on Dec 16, 2020

    @overheadhunter
    Member

    Somehow the JRE 8 installation is interfering here... Since Cryptomator bundles the parts of the JVM it requires, there shouldn't be any use of an external JRE.

    I guess you have a JAVA_HOME system property set to said JRE installation path?

  2. added
    state:awaiting-response
    on Dec 16, 2020
  3. ckeschnat commented on Dec 16, 2020

    @ckeschnat
    Author

    Hi,
    that is correct, JAVA_HOME was set to

    C:\Program Files\AdoptOpenJDK\jre-8.0.275.1-hotspot\

    Uninstalling Java8 removes JAVA_HOME and Cryptomator starts without error.

  4. removed
    state:awaiting-response
    on Dec 16, 2020
  5. infeo commented on Dec 16, 2020

    @infeo
    Member

    On my windows 10 VM this error occurs only, if :

    • the JRE version of adoptOpenJDK 8 is installed
    • the JRE is added to the path
    • no other JDK "appears earlier" in the path

    Editing JAVA_HOME has no influence.

  6. infeo commented on Dec 16, 2020

    @infeo
    Member

    Another observation: This also happens with JREs of other vendors like RedHat or Amazon. Only with the Oracle JRE the error does not occur.

  7. infeo commented on Dec 16, 2020

    @infeo
    Member
  8. jollycar commented on Dec 29, 2020

    @jollycar

    I have the same error. As a workaround I can set the "Start in" property of the Cryptomator shortcut to "C:\Program Files\Cryptomator\runtime\bin", the place where the correct version of zip.dll is located, then the error is gone.

  9. added
    state:has-workaround
    on Dec 30, 2020
  10. infeo commented on Mar 18, 2021

    @infeo
    Member

    Fixed with update to JDK 16 in 31e938d

  11. added this to the 1.5.14 milestone on Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    os:windowsstate:has-workaround

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions