How to run a Jar file in garuda linux

Hi I am trying to run a java file but its opening in ARK . I really need help

Is Java installed in your system? See eg
https://wiki.archlinux.org/title/Java
Is the downloaded file executable?

1 Like

i hav installed java ~~~
─λ which java
/usr/bin/java ~~~ yes its is executable

also my mouse's fire button is not working

Please make sure that the OpenJDK and OpenJFX packages mentioned in the Arch wiki are installed.

Off topic / one topic per thread, please

1 Like

I faced a similar issue when I used KDE. I have no clue why, but the runner just poofed.

You can "fix" this by pressing "add" in the screenshotted window and then typing java -jar into the search bar and pressing ok.

2 Likes

thanks a lot sir

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