How do I troubleshoot “Inconsistency detected: dl-lookup.c: 111” (Java Result 127) error?

前端 未结 2 1077
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-15 19:23

I\'m currently trying to build a Java project using Maven for a game I\'m working on.

A recent push to our repository by another user has broken the build for me, b

相关标签:
2条回答
  • 2020-12-15 20:19

    This problem also showed up for me while using libgdx on Ubuntu 20.04 with openjdk-11.

    After a longer struggle I tried another jdk vendor instead of openjdk. This solved my issue. For some reason adopt-opendjk-11 works, while openjdk-11 was not working.

    0 讨论(0)
  • 2020-12-15 20:29

    Downgrade to OpenJDK 8

    I had the same problem in Xubuntu 18.04 with Eclipse 2018-12 (4.10.0). It was working fine, but probably some update in the system (or to OpenJDK specifically) started this problem. In addition Gradle Tasks weren't showing up in the Gradle Window.

    I solved the issue removing packages: default-jre, default-jdk, default-jre-headless, default-jdk-headless, all of them are "pointing at" openjdk-11.

    Then I installed packages: openjdk-8-jre, openjdk-8-jdk, openjdk-8-jre-headless and openjdk-8-jdk-headless.

    Changed eclipse.ini in the vm section to: -vm /usr/lib/jvm/java-8-openjdk-amd64/bin

    And now everything is working fine, and Gradle tasks are showing again. To clarify, I'm also using LibGDX.

    0 讨论(0)
提交回复
热议问题