After I've installed and updated Java (Java programs that I needed do work, so it's most likely properly installed) Javascript programs decided to no longer work. The issue actually is with a game called Mr. Mine, which without Java installed it worked fine and well and everything, but after installing Java it no longer wants to launch. I tried to google a little but I can't seem to find anything similar, and found that Java and Javascript have nothing to do with each other, so I'm now completely confused.
I did not have this problem on Linux Mint - I installed Java and Mr. Mine worked despite that, but here, on Garuda, it doesn't. Proton does not help it in any way, and the game also ran without Proton to begin with. There were no changes whatsoever to my system before installing Java; I've actually restarted my PC after installing Gimp (which was the last thing I've done before installing Java) and launched the game just fine.
I've followed this to install Java:
Guess I'll spend plenty of time in this forum, unlike on Mint forum where I asked like one question. xD
Thank you in advance.
Ok, after toying a little, I realized that something’s wrong. At first everything worked, but it seems that after restarting my PC I’m getting an error:
Exception in thread “main” java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapp
er
at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:473)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:489)
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:1694)
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:537)
at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:598)
at java.desktop/javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:660)
at com.dabomstew.pkrandom.gui.RandomizerGUI.main(RandomizerGUI.java:131)
Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:468)
at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:486)
… 13 more
Searching in the internet, they’re saying to edit “accessibility.properties”, though I don’t seem to have it because using sudo vim /etc/java-8-openjdk/accessibility.properties opens an empty file. Does anyone have any idea what to do?
Literally all I can find is to modify that accessibility file, but I don’t have it.
Ok, so I tried to delete Java altogether, and I did that, but there are still java things on my PC… Is there any list of things I should remove after removing Java itself?
Okay, so I went to eat something and then smashed the uninstall command by accident again because I thought I missed something. And I was right, I did miss something and now everything works. Thank you for at least trying to help, and sorry for being that dumb...
Yeah, sorry. The fix was me not using sudo pacman -Rdd jr9-openjdk-headless (chose to remove Java). Did that and everything worked. Though, the game just opened once and then didn’t want to open again, so it was not the issue of Java but the game itself, and I did get a response that the game likes to not launch at all, but I was able to launch it with 99% of success on Mint. Contacted the developers of the game because there was an update today for the game as well, so it might’ve broken something.