./start.sh
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:807)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
at sun.swing.SwingUtilities2.getSystemMnemonicKeyMask(SwingUtilities2.java:2020)
at javax.swing.plaf.basic.BasicLookAndFeel.initComponentDefaults(BasicLookAndFeel.java:1158)
at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:431)
at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:148)
at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1577)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:539)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:579)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1349)
at javax.swing.UIManager.initialize(UIManager.java:1459)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1426)
at javax.swing.UIManager.getInstalledLookAndFeels(UIManager.java:419)
at com.willwinder.universalgcodesender.MainWindow.main(MainWindow.java:180)
解决方案
Edit 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
我遇到了以下问题,但已经找到了解决方案 – 我正在为遇到同样问题的其他人编写此问题报告。
操作系统:KDE Neon 5.16
JDK:openjdk 版本“1.8.0_212”
OpenJDK 运行时环境(构建 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03)
OpenJDK 64 位服务器 VM(构建 25.212-b03,混合模式)
通用 G 代码发送器:2.0 – 2019 年 8 月 14 日
例外:
解决方案