Error opening SKlauncher (java)

Ehllo

Today iI installled the minecraft SKlauncher laucher, wich works with java.

I ran java -jar SKlauncher-3.2.8.jar in console

and it returned:

Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.AtkWrapper
	at java.desktop/java.awt.Toolkit.newAWTError(Toolkit.java:475)
	at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:491)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
	at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1715)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
	at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:540)
	at java.desktop/java.awt.Toolkit.getDefaultToolkit(Toolkit.java:601)
	at java.desktop/javax.swing.RepaintManager.<clinit>(RepaintManager.java:252)
	at java.desktop/javax.swing.UIManager.initialize(UIManager.java:1526)
	at java.desktop/javax.swing.UIManager.maybeInitialize(UIManager.java:1487)
	at java.desktop/javax.swing.UIManager.getLookAndFeel(UIManager.java:499)
	at com.formdev.flatlaf.FlatLaf.initialize(FlatLaf.java:248)
	at java.desktop/javax.swing.UIManager.setLookAndFeel(UIManager.java:590)
	at com.formdev.flatlaf.FlatLaf.setup(FlatLaf.java:130)
	at com.formdev.flatlaf.FlatDarkLaf.setup(FlatDarkLaf.java:40)
	at pl.skmedix.bootstrap.ui.swing.LookAndFeel.setup(LookAndFeel.java:26)
	at pl.skmedix.bootstrap.SwingUserInterface.setLookAndFeel(SwingUserInterface.java:25)
	at pl.skmedix.bootstrap.SwingUserInterface.<init>(SwingUserInterface.java:19)
	at pl.skmedix.bootstrap.Bootstrap.selectUserInterface(Bootstrap.java:695)
	at pl.skmedix.bootstrap.Bootstrap.<init>(Bootstrap.java:135)
	at pl.skmedix.bootstrap.PreBootstrap.main(PreBootstrap.java:14)
Caused by: java.lang.ClassNotFoundException: org.GNOME.Accessibility.AtkWrapper
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:534)
	at java.base/java.lang.Class.forName(Class.java:513)
	at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Toolkit.java:488)
	... 25 more

Any ideas? Thx

(im using Gnome, as you can see in the error)

None.

Except to mention that the AUR (which is where I believe the SKlauncher originated) is unsupported on Manjaro. You should probably contact the maintainer of the package.

You might try removing everything installed thus far, and reinstalling SKlauncher. I found the following tutorial which might be useful: How to Install Minecraft Launcher on Manjaro Linux.

Choosing a different JAVA might also be an option; for example openjdk.

Good luck.

That version is not from AUR - you used … something else.
Follow their instructions - if they give them.

The AUR has an older version - (3.2.5 if I recall correctly).

The link @soundofthunder gave mentions using AUR, but fails to mention the prerequisite for using it
git and base-devel

Here’s another:

…and another:

…and another:

…and another:

…and… OK, you get the picture.

Cheers.

I did not mean you - I meant the links contents.
They do not specifically remind one that base-devel is not present by default and needs to be installed for the AUR being usable.
One who follows the steps in these tutorials will likely run into issues when the prerequisites are not present - but they don’t remind the eager learner of that fact.

I didn’t think you did. :wink:

The intention was for the OP… showing that there are plenty of resources to find on Internet, that might (or might not) be helpful. Cheers.

sudo pacman -S jdk21-openjdk
sudo archlinux-java set java-21-openjdk
java -jar SKlauncher-3.2.8.jar
3 Likes

I tried again with that version but still returns the same

didn’t work

Well, I installed the 3.2.5 version as @Nachlese menctioned.
Then I set Java 22 sudo archlinux-java set java-22-jdk

and it worked :v

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.