[英]Cannot install Netbeans 8.2 on Ubuntu due to java.awt.AWTError and Assistive Technology not found
I have recently installed Netbeans 8.2 on Ubuntu and it has run. 我最近在Ubuntu上安装了Netbeans 8.2,它已经运行了。 But after a while not using it, when I clicked on netbeans shortcut, it just appeared the loadding windows and then it's off, nothing else happened.
但是一段时间不使用它之后,当我单击netbeans快捷方式时,它只是出现了正在加载的窗口,然后关闭了,什么都没有发生。 So I decided to reinstall it.
因此,我决定重新安装它。 But now when I'm using Terminal to run the netbeans-8.2-linux.sh file, an "Critical error" box appear and say: "An unexpected exception happened in thread main. Exception: java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper" Error message
但是现在当我使用终端运行netbeans-8.2-linux.sh文件时,出现“严重错误”框,并说:“线程主线程中发生意外异常。异常:java.awt.AWTError:辅助技术没有找到:org.GNOME.Accessibility.AtkWrapper“ 错误消息
And then I check my javac version: 然后我检查我的javac版本:
~$ javac -version
javac 1.8.0_181
Now I can't install Netbeans, really need your help. 现在我无法安装Netbeans,真的需要您的帮助。 Thanks a lot.
非常感谢。
I've had the same issue with Kubuntu 18.04 when launching Umlet this morning. 今天早上启动Umlet时,我在Kubuntu 18.04中遇到了相同的问题。 It appears to be caused by an unattended security upgrade for the openjdk packages.
它似乎是由openjdk软件包的无人值守安全升级引起的。
The answer by rdrever to this askubuntu SE question fixed the error. 由rdrever回答的这个askubuntu SE问题解决了该错误。
Quoting the fix: 引用修复程序:
This can be done by editing the accessibility.properties file for OpenJDK:
sudo vim /etc/java-8-openjdk/accessibility.properties
Comment out the following line:
assistive_technologies=org.GNOME.Accessibility.AtkWrapper
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.