无法再使用 Intellij 启动 javaFx 应用程序 [英] Can't launch javaFx application with intellij anymore
问题描述
我正在使用 IntelliJ Idea 开发 JavaFx 应用程序,直到今天,一切正常,但现在无缘无故(也许我在不知道的情况下做错了什么)每当我尝试启动 JavaFx 应用程序时,我都会在控制台上得到这个:
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 :
进程完成,退出代码 -1073740791 (0xC0000409)
Process finished with exit code -1073740791 (0xC0000409)
我已经尝试重新安装 IntelliJ,但没有奏效.即使对于新的 JavaFx 应用程序,我也会收到此错误,并且没有启动任何窗口并且我收到相同的消息.
I already tried to re-install IntelliJ but it didn't worked. Even for a new JavaFx application i get this error, and no window is launched and i get the same message.
我找不到遇到这个问题的人,所以我在这里问,希望能找到答案:)
I can't find anyone who had this problem so i am asking here hoping to find an answer :)
推荐答案
该问题来自最新的 Nvidia 驱动程序版本:378.49,此驱动程序中断了一些 java.exe 执行,例如 Android 应用程序编译.
The problem comes with the latest Nvidia Driver version: 378.49, this driver breaks some java.exe execution such as Android application compilations.
我按照以下步骤将 Windows 10 中的 Nvidia 驱动程序回滚到版本 376.33:
I rolled back my Nvidia Driver in Windows 10 to version 376.33 following these steps:
- 右键单击 Windows 按钮(屏幕左下角)
- 点击设备管理器
- 双击显示适配器
- 双击您的 NVIDIA GPU
- 选择驱动程序"标签
- 选择上传驱动程序..."
- 选择浏览我的计算机以查找驱动程序软件"
- 选择让我从计算机上的设备驱动程序列表中选择"
- 从给定的列表中选择NVIDIA Geforce 版本:21.21.13.7633 [11/12/2016]
- 点击右下角的下一步"
- 安装驱动程序后,重新启动系统.
重启后 java.exe 应该可以正常工作了.
After the reboot java.exe should work as usual.
希望这能在相同情况下帮助更多人,我浪费了 2 天时间寻找围绕 Gradle、Android 和 Java 重新安装的解决方案.
Hope this helps more people in the same situation, I wasted 2 days looking for solutions going around Gradle, Android and Java re-installations.
这篇关于无法再使用 Intellij 启动 javaFx 应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!