- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我对这类问题很陌生。由于我的显卡,我的 Net Beans IDE 崩溃了!我的机器上安装了 2GB 内存的 AMD Radeon R9 M200X 系列显卡。每当我尝试在 Net Beans IDE 中创建一个新的 JFrame 时;它突然强力崩溃。我还有英特尔高清显卡(默认情况下/内置卡)!我通过卸载 AMD 显卡驱动程序并在 INTEL 显卡上使用我的 Net Beans IDE 来了解这个问题!问题很奇怪,当我有ADM Radeon 时IDE 无法使用!错误日志文件如下:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=6496, tid=6980
JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.65-b01 mixed mode windows-amd64 compressed oops)
Problematic frame:
C 0x0000000000000000
Failed to write core dump. 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.
--------------- T H R E A D ---------------
Current thread (0x00000000166e9800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=6980, stack(0x000000001ade0000,0x000000001afe0000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x0000000000000000
Registers:
RAX=0x000000001afdd2f4, RBX=0x000007fefed60000, RCX=0x000000001afdd2f0, RDX=0x0000000000000000
RSP=0x000000001afdd2a8, RBP=0x000000001afdd3b0, RSI=0x000007fef479fa00, RDI=0x000000001afdd920
R8 =0x0000000000000140, R9 =0x0000000000000006, R10=0x0000000000000000, R11=0x000000001afdd2f4
R12=0x000000001afddb90, R13=0x000007fefb7953cc, R14=0x0000000000000000, R15=0x00000000166e9800
RIP=0x0000000000000000, EFLAGS=0x0000000000010213
Top of Stack: (sp=0x000000001afdd2a8)
0x000000001afdd2a8: 000007fefb793f5d 0072007400730069
0x000000001afdd2b8: 0061004d005c0079 006e006900680063
0x000000001afdd2c8: 00790053005c0065 006d006500740073
0x000000001afdd2d8: 007200750043005c 0074006e00650072
0x000000001afdd2e8: 0074006e006f0043 0000000000000000
0x000000001afdd2f8: 0000000000000000 0000000000000000
0x000000001afdd308: 0000000000000000 0000000000000000
0x000000001afdd318: 0000000000000000 0000000000000000
0x000000001afdd328: 0000000000000000 0000000000000000
0x000000001afdd338: 0000000000000000 0000000000000000
0x000000001afdd348: 0000000000000000 0000000000000000
0x000000001afdd358: 0000000000000000 0000000000000000
0x000000001afdd368: 0000000000000000 0000000000000000
0x000000001afdd378: 0000000000000000 0000000000000000
0x000000001afdd388: 0000000000000000 0000000000000000
0x000000001afdd398: 0000000000000000 0000000000000000
Instructions: (pc=0x0000000000000000)
0xffffffffffffffe0:
Register to memory mapping:
RAX=0x000000001afdd2f4 is pointing into the stack for thread: 0x00000000166e9800
RBX=0x000007fefed60000 is an unknown value
RCX=0x000000001afdd2f0 is pointing into the stack for thread: 0x00000000166e9800
RDX=0x0000000000000000 is an unknown value
RSP=0x000000001afdd2a8 is pointing into the stack for thread: 0x00000000166e9800
RBP=0x000000001afdd3b0 is pointing into the stack for thread: 0x00000000166e9800
RSI=0x000007fef479fa00 is an unknown value
RDI=0x000000001afdd920 is pointing into the stack for thread: 0x00000000166e9800
R8 =0x0000000000000140 is an unknown value
R9 =0x0000000000000006 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x000000001afdd2f4 is pointing into the stack for thread: 0x00000000166e9800
R12=0x000000001afddb90 is pointing into the stack for thread: 0x00000000166e9800
R13=0x000007fefb7953cc is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x00000000166e9800 is a thread
Stack: [0x000000001ade0000,0x000000001afe0000], sp=0x000000001afdd2a8, free space=2036k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.Win32GraphicsDevice.getMaxConfigsImpl(I)I+0
j sun.awt.Win32GraphicsDevice.getMaxConfigs(I)I+10
j sun.awt.Win32GraphicsDevice.getConfigurations()[Ljava/awt/GraphicsConfiguration;+69
j javax.swing.ToolTipManager.getDrawingGC(Ljava/awt/Point;)Ljava/awt/GraphicsConfiguration;+36
j javax.swing.ToolTipManager.showTipWindow()V+115
j javax.swing.ToolTipManager$insideTimerAction.actionPerformed(Ljava/awt/event/ActionEvent;)V+113
J 10142 C1 javax.swing.Timer.fireActionPerformed(Ljava/awt/event/ActionEvent;)V (46 bytes) @ 0x000000000423345c [0x0000000004233120+0x33c]
J 14878 C1 javax.swing.Timer$DoPostEvent.run()V (95 bytes) @ 0x0000000004faa514 [0x0000000004fa9940+0xbd4]
J 15500 C2 java.awt.EventQueue$3.run()Ljava/lang/Object; (5 bytes) @ 0x00000000044152e0 [0x0000000004414fe0+0x300]
v ~StubRoutines::call_stub
J 1147 java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x0000000002906c26 [0x0000000002906bc0+0x66]
J 15438 C2 org.netbeans.core.TimableEventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (43 bytes) @ 0x00000000045e7e60 [0x00000000045e79c0+0x4a0]
J 20389 C2 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V (295 bytes) @ 0x00000000060a3ccc [0x00000000060a3840+0x48c]
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
我只需要知道我是否可以在 Intel 高清显卡而不是 AMD 显卡上使用 NetBeans,因为最近 AMD 删除了可切换显卡的选项!现在 AMD 的用户拥有 Crimson Software(我不打算用于图形的任何东西)!
有人可以告诉我解决方案是什么吗?任何帮助将不胜感激!
它只发生在 NetBeans IDE 和 AWT 组件类未正常工作的情况下!
提前致谢
最佳答案
很简单,IDE 崩溃是因为显卡的 AMD Radeon Crimson Edition 驱动程序!
只需在 IDE 安装的根目录 下找到您的 Netbeans.conf 文件,然后打开 etc 文件夹 并编辑 Netbeans。 session 。
在编辑模式下找到字符串:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"
在上面提到的代码中,只需将选项更改为:
-J-Dsun.java2d.noddraw=false
这样新的字符串就是:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=false -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true"
它适用于具有双显卡的机器的用户,例如在我的情况下,我有一个 Intel HD Graphics 4400 卡和一个 AMD Radeon R9 M200X 系列!
但问题是 AMD 刚刚删除了可切换显卡,因此您不能允许任何 Windows 应用程序强制使用您的 Intel 显卡(可能是我没有找到这样做的方法!)。
此解决方案适用于机器配备 AMD Radeon 显卡且其 Netbeans IDE 由于 AWT 组件库而强制崩溃的用户!
谢谢大家!
关于java - Netbeans 崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34560485/
默认情况下,netbeans 将其设置存储在用户主目录下名为 .netbeans 的目录中。是否可以更改此目录的位置(尤其是在 Windows 下)? 感谢 James Schek,我现在知道了答案(
我每天都在使用 Netbeans IDE,突然我的“项目”和"file"选项卡消失了,我真的不知道该怎么办,我在谷歌上搜索过,但找不到任何合适且有效的解决方案来解决这个问题。 有人能帮助我吗? 如果您
我正在使用 Netbeans 来满足各种开发需求。但是安装大量插件会使 Netbeans 非常慢。是否可以为每个特定的开发需求(如 Eclipse)安装多个 Netbeans? 最佳答案 还有另一种方
只是一个简单的问题,我在哪里可以下载旧版本的 Netbeans? Netbeans 6.9.1 对 Java EE 开发人员来说尤为重要。 我看过他们的网站,但我只能找到 7.0.1 和 7.1 的下
我是新的 NetBeans 用户。当我加载我的项目时,一些文件被淡化了。当我将光标放在它们上时,它们显示为“忽略”。为什么?所有的 JAR 文件和类文件也会被忽略。 最佳答案 检查Tools->Opt
关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 3年前关闭。 锁定。这个问题及其答案
任何人都知道是否可以在 netbeans 中搜索和替换所有打开的文件?如果有的话,似乎也找不到选项。 我正在使用 Netbeans 6.9 PHP IDE 最佳答案 CTRL+SHIFT+H 这将打开
是否可以将条目添加到由netbeans生成的jar的manifest.mf文件中? 例如构建一个osgi包。 最佳答案 请注意,您可以通过ant任务即时创建 list ,并动态设置属性。 首先,必须更
我最近开始使用 NetBeans,但缺少一个功能使我无法完全切换到 NetBeans。我一直使用终端,从 NetBeans 窗口切换到终端窗口很痛苦。 有没有办法将终端窗口嵌入到 NetBeans I
在netbeans中调试Java程序时,我希望调试器在导致NullPointerException的行上停止,以便可以在那里检查变量。我相信我必须在该行设置的断点上使用条件,但是条件的语法是什么? 谢
当我在JavaScript中使用PHP时,Netbeans 7.0将行突出显示为语法错误 就我而言 $(document).ready(function(){ $("#rating_comp
默认情况下,netbeans 中所有打开的文件都显示在水平选项卡中,就像浏览器一样。 我希望我的选项卡垂直列出,这可能吗? 最佳答案 工具 -> 选项 -> 外观 -> 选项卡位置 关于netbean
NetBeans 中是否有颜色选择器的快捷方式? 我在 NetBeans 网站上发现了同样的查询,据说这是可能的,但我找不到如何做到这一点的实际答案。 我的意思是:当我在 CSS 文件中编辑涉及颜色的
我刚刚开始使用 NetBeans,并正在尝试了解如何: 保存时删除尾随空格。我知道你可以手动调用它,但如果你忘记了,那就很烦人了。可以在保存时自动完成吗?我希望这样做是因为它可以保持代码整洁,因为当您
我正在开发一个 netbeans 应用程序,它的主要 TopComponent 包含一个渲染 Canvas : 当我关闭应用程序(不是顶级组件)时会生成一个错误,有时这会导致在应用程序关闭后运行一个进
有没有办法在 netbeans 中进行项目范围的搜索和替换?好像应该有,但是没找到相关信息。 谢谢 最佳答案 在编辑菜单下,您应该找到在项目中替换...的菜单项 关于netbeans - 搜索并替换整
如果是,怎么做? 最佳答案 在 Netbeans 6.9 for PHP 中,转到文件->项目属性。 在“类别”中,选择“运行配置”。有很多选项可以让您的整个项目在远程服务器上运行。 关于netbea
首先,我使用的是 NetBeans IDE 7.1(内部版本 201112071828)。 我有这段代码 onload = function() { tooltip.
/* * * This is a long comment. I broke it into lines, but that made it impossible to edit without
我在 netbeans 中有一个项目,其中有一个使用 jflex 生成的 java 扫描器。因此,当我通常使用 make 文件构建它时,我使用 -Xlint 选项,即 javac -Xlint jav
我是一名优秀的程序员,十分优秀!