简体   繁体   English

Java eclipse,为什么JVM崩溃?

[英]Java eclipse, why JVM crash?

I have latest eclipse version. 我有最新的eclipse版本。 I cant run most of codes who contains: Fullscreen(true); 我无法运行包含以下内容的大多数代码:全屏(true); Contains mp3/mp4 files. 包含mp3 / mp4文件。 Even if these codes works well on my OTHER computer. 即使这些代码在我的OTHER计算机上运行良好。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x000007feef805c01, pid=2660, tid=0x00000000000016ec
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [msvcr120.dll+0x95c01]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\44\Bandymai\hs_err_pid2660.log
#
# 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.
#

And this aswell. 这也是。

Exception in Application start method
java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
    at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.launcher.LauncherHelper$FXHelper.main(Unknown Source)
Caused by: java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
    at java.lang.Thread.run(Unknown Source)
Caused by: MediaException: MEDIA_INACCESSIBLE : c
    at javafx.scene.media.Media.<init>(Media.java:409)
    at SpalvosFonas.MediaMP4.start(MediaMP4.java:26)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    ... 1 more
Exception running application SpalvosFonas.MediaMP4

How to solve? 怎么解决? I have windows7 64bit. 我有windows7 64bit。

The application uses the native lib msvcr120.dll (Microsoft Visual Studio 2013) and that crashes for whatever reasons. 该应用程序使用本机lib msvcr120.dll (Microsoft Visual Studio 2013),并出于任何原因崩溃。 Maybe the other computer has a different version of this dll, maybe a different java version. 也许其他计算机有这个DLL的不同版本,也许是不同的java版本。

I'd check if both environments are the same and try to update as much as possible. 我会检查两个环境是否相同,并尝试尽可能多地更新。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM