[英]Can't launch javaFx application with intellij anymore
I am developping a JavaFx application with IntelliJ Idea, and until today, all worked fine, but now for no reason (maybe i did something wrong without knowing it) whenever i try to launch a JavaFx application i get this on the console :我正在使用 IntelliJ Idea 开发 JavaFx 应用程序,直到今天,一切正常,但现在无缘无故(也许我在不知道的情况下做错了什么)每当我尝试启动 JavaFx 应用程序时,我都会在控制台上得到这个:
Process finished with exit code -1073740791 (0xC0000409)
进程完成,退出代码 -1073740791 (0xC0000409)
I already tried to re-install IntelliJ but it didn't worked.我已经尝试重新安装 IntelliJ 但它没有用。 Even for a new JavaFx application i get this error, and no window is launched and i get the same message.
即使对于新的 JavaFx 应用程序,我也会收到此错误,并且没有启动任何窗口并且我收到相同的消息。
I can't find anyone who had this problem so i am asking here hoping to find an answer :)我找不到任何有这个问题的人,所以我在这里问,希望能找到答案:)
The problem comes with the latest Nvidia Driver version: 378.49 , this driver breaks some java.exe execution such as Android application compilations.问题来自最新的Nvidia 驱动程序版本: 378.49 ,该驱动程序中断了一些 java.exe 执行,例如 Android 应用程序编译。
I rolled back my Nvidia Driver in Windows 10 to version 376.33 following these steps:我按照以下步骤将 Windows 10 中的 Nvidia 驱动程序回滚到版本376.33 :
After the reboot java.exe should work as usual.重新启动后 java.exe 应该可以正常工作。
Hope this helps more people in the same situation, I wasted 2 days looking for solutions going around Gradle, Android and Java re-installations.希望这可以帮助更多处于相同情况的人,我浪费了 2 天时间寻找围绕 Gradle、Android 和 Java 重新安装的解决方案。
I had the same exact problem as you do.我和你有同样的问题。 As some commenters (@sillyfly and @Javaru) pointed out, the problem is with the new Nvidia drivers.
正如一些评论者(@sillyfly 和@Javaru)指出的那样,问题出在新的 Nvidia 驱动程序上。 Assuming you are on windows, do the following:
假设您在 Windows 上,请执行以下操作:
This will roll back your Nvidia drivers to the previous version.这会将您的 Nvidia 驱动程序回滚到以前的版本。 Hopefully it works now.
希望它现在有效。
Yes the Problem comes from Nvidia drivers.是的,问题来自 Nvidia 驱动程序。 I had the same error and disabling the nvidia gpu from the device manager caused it to be fixed.
我有同样的错误,从设备管理器禁用 nvidia gpu 导致它被修复。
So as it was told on the other answers, the problem came form the last Nvidia Driver : 378.49 I re-installed the older version (376.33) and all worked fine again.因此,正如在其他答案中所说,问题来自最后一个 Nvidia 驱动程序:378.49 我重新安装了旧版本(376.33)并且一切正常。
In my case i have the Nvidia 960M.就我而言,我有 Nvidia 960M。
Thanks everyone for your help.感谢大家的帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.