【问题标题】:how can i solve java fatal error during jframe [duplicate]我如何解决jframe期间的java致命错误[重复]
【发布时间】:2019-11-21 05:04:31
【问题描述】:

我在 Eclipse 中使用 JFrame(窗口生成器)。

当我转到设计选项卡并单击组件或其他东西时。有时 Eclipse 只是关闭而没有抛出任何错误,当我再次打开 Eclipse 时,我的 Jframe 文件消失在空气中。

我不能再次使用我的Jframe 文件的名称。

'存在同名但大小写不同的类型。'发生。

我发现每次发生新文件时都会创建 hs_err_pd13544 等新文件。所以我复制了一部分。

在没有任何帮助的情况下,我多次尝试重新安装 java 和 eclipse。


    #
    # A fatal error has been detected by the Java Runtime Environment:
    #
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffdecbcaca8, pid=13544, tid=29532
    #
    # JRE version: Java(TM) SE Runtime Environment (13.0.1+9) (build 13.0.1+9)
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (13.0.1+9, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
    # Problematic frame:
    # C  [MSCTF.dll+0x2aca8]
    #
    # No core dump will be written. Minidumps are not enabled by default on client versions of Windows
    #
    # If you would like to submit a bug report, please visit:
    #   http://bugreport.java.com/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    #


    ---------------  S U M M A R Y ------------

    Command Line: -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx1024m --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/ 

    Host: Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz, 8 cores, 7G,  Windows 10 , 64 bit Build 18362 (10.0.18362.329)
    Time: Thu Nov 21 13:46:57 2019 ´eCN¹I±¹ C¥AؽA elapsed time: 77 seconds (0d 0h 1m 17s)

【问题讨论】:

  • 什么版本的eclipse?看起来您可能使用的是旧的 eclipse 安装,但您安装的 java 版本是相当新的。

标签: java swing jframe hs-err


【解决方案1】:

1) 我在 Eclipse 中使用 JFrame(窗口生成器)。
--> 对于 Swing 框架工作,Netbeans IDE 比 eclipse 更轻、更快,是更可行或最佳选择。尝试与 Netbeans IDE 相同的代码。

2) 另一种方法是.. 使用新的/最新版本的 Eclipse 或更新现有的 Eclipse。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-07-05
    • 2021-03-18
    • 1970-01-01
    • 1970-01-01
    • 2020-11-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多