Why does JVM error occur?

前端 未结 2 1307
梦谈多话
梦谈多话 2021-01-16 14:06
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff17a60c678, pid=4219, tid=140673779791616
#
# JRE version: Java         


        
相关标签:
2条回答
  • 2021-01-16 14:47

    I had the same issue (except that it was java-8-oracle build 101) and found out why it was happening:

    I have a login screen that appears before my main application and that screen gets closed after the login occurs and, apparently, closing it (or even hiding it) and showing a new window makes it crash.

    0 讨论(0)
  • 2021-01-16 14:48

    It sounds like you're running JavaFX with Java 8 on Linux, and you've run into this bug:

    https://bugs.openjdk.java.net/browse/JDK-8141687

    App crashes while starting Main.class in JavaFx

    ava version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

    ADDITIONAL OS VERSION INFORMATION : Mint17.2 Cinnamon 64Bit

    SUGGESTION: Try a different version of Java/JavaFX.

    1. Run sudo update-alternatives --config java to see what alternatives are already present on your system. I would downgrade to Java 1.7 if possible.

      • https://askubuntu.com/questions/272187/setting-jdk-7-as-default
    2. If there are no suitable candidates, use apt-get install openjdk-7-jdk:

      • https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
    0 讨论(0)
提交回复
热议问题