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

前端 未结 2 1080
爱一瞬间的悲伤
爱一瞬间的悲伤 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: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.

提交回复
热议问题