ฉันลองแล้วข้อผิดพลาดคือ:
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:472)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1608)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:532)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:613)
at java.desktop/javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:660)
at com.cburch.logisim.gui.start.Startup.parseArgs(Startup.java:250)
at com.cburch.logisim.Main.main(Main.java:32)
ดูเหมือนว่าข้อผิดพลาดจะเป็น ...
เกิดจาก: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper ที่ java.base / jdk.internal.loader.BuiltinClassLoader.loadClass (BuiltinClassLoader.java 5382) ที่ java.base / jdk.internal.loader.Class $ AppClassLoader.loadClass (ClassLoaders.java:190) ที่ java.base / java.lang.ClassLoader.loadClass (ClassLoader.java:499)
ที่ java.base / java.lang.Class.forName0 (วิธีพื้นเมือง)
ที่ java.base / java.lang.Class.forName (Class.java:374)
ที่ java.desktop / java.awt.Toolkit.fallbackToLoadClassForAT (Toolkit.java:485)
... 14 more
OUTPUT สำหรับนโยบาย apt-cache logicsim logisim
logisim:
Installed: 2.7.1~dfsg-1
Candidate: 2.7.1~dfsg-1
Version table:
*** 2.7.1~dfsg-1 500
500 http://in.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://in.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
100 /var/lib/dpkg/status
N: Unable to locate package logicsim
OUTPUT สำหรับ update-java-ทางเลือก -l
java-1.11.0-openjdk-amd64 1101 /usr/lib/jvm/java-1.11.0-openjdk-amd64
java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64
apt-cache policy logicsim logisim
และupdate-java-alternatives -l
ลงในคำถาม