首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >当我们在虚拟机上运行javafx应用时

当我们在虚拟机上运行javafx应用时
EN

Stack Overflow用户
提问于 2015-02-20 19:32:33
回答 1查看 654关注 0票数 0

当我们在使用JDK 1.7的虚拟机上运行我们的javafx应用程序时,得到以下错误:

代码语言:javascript
复制
Stack: [0x3aba0000,0x3abf0000],  sp=0x3abeeab0,  free space=314k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [glass.dll+0x1016d]

[error occurred during error reporting (printing native stack), id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.glass.ui.win.WinWindow._close(J)Z+0
j  com.sun.glass.ui.Window.close()V+51
j  com.sun.javafx.tk.quantum.WindowStage.close()V+15
j  javafx.stage.Window$9.invalidated()V+567
j  javafx.beans.property.BooleanPropertyBase.markInvalid()V+13
j  javafx.beans.property.BooleanPropertyBase.set(Z)V+31
j  javafx.stage.Window.setShowing(Z)V+11
j  javafx.stage.Window.hide()V+2
j  com.org.modules.dlmgr.ui.DownloadManagerUI.hideWindow()Z+11
j  com.org.modules.dlmgr.ui.DownloadManagerUI.startSysTray()Z+233
j  com.org.modules.dlmgr.ui.DownloadManagerUI.start(Ljavafx/stage/Stage;)V+273
j  com.sun.javafx.application.LauncherImpl$5.run()V+26
j  com.sun.javafx.application.PlatformImpl$5.run()V+4
j  com.sun.javafx.application.PlatformImpl$4$1.run()Ljava/lang/Void;+7
j  com.sun.javafx.application.PlatformImpl$4$1.run()Ljava/lang/Object;+1
v  ~StubRoutines::call_stub
j  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j  com.sun.javafx.application.PlatformImpl$4.run()V+12
j  com.sun.glass.ui.InvokeLaterDispatcher$Future.run()V+4
v  ~StubRoutines::call_stub
j  com.sun.glass.ui.win.WinApplication._runLoop([Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+0
j  com.sun.glass.ui.win.WinApplication.access$100(Lcom/sun/glass/ui/win/WinApplication;[Ljava/lang/String;Lcom/sun/glass/ui/Launchable;)V+3
j  com.sun.glass.ui.win.WinApplication$3$1.run()V+32
j  java.lang.Thread.run()V+11
v  ~StubRoutines::call_stub

谁能告诉我如何解决这个问题。我尝试过通过-Xmx1300M,但是仍然得到了上面的错误。

谢谢,

EN

回答 1

Stack Overflow用户

发布于 2015-02-21 00:59:54

你可能遗漏了一些包裹。尝试安装至少带有jfrxt.jar的JRE1.8(对于JavaFX,您将需要该版本)。如果这不起作用,请尝试安装一个已经具有这些库的编辑器。

F.E. (这是我目前使用的)

Eclipse 4.4.0与e(Fx)clipse1.2.0的发现:Here

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/28627972

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档