Hello!
Everytime I wanna run a .jar file, I go to the prompt, type ‘java -jar <filename>’. When I click it, it opens as an archive -.-
Is there an way to make it run automatically? Just by clicking on it?
Thanks
Hello!
Everytime I wanna run a .jar file, I go to the prompt, type ‘java -jar <filename>’. When I click it, it opens as an archive -.-
Is there an way to make it run automatically? Just by clicking on it?
Thanks
check if you have java installed. from cli the command :
which java
should give you the answer. if not install it via Yast and then I think you’ll have this functionality automatically.
I do have java. Both JVM and JDK but I don’t have this functionality ;~
Did it
just cfg to run with /usr/bin/java -jar. it’ll run ^^
If you are using KDE, go to “Configure Desktop” -> “Advanced Settings” -> “File Associations”.
Alter the program associated with mime type “application/x-java-archive”.
yes, that was what I did