Sunday, May 5, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1859  / 2 Years ago, sat, july 9, 2022, 10:37:04

I am a COMPLETELY new user to linux and have been using most of my programs through wine. Take for example this program : http://www.atlauncher.com/download/jar/ which, when unpacked has no executable files. I'm not sure if I am looking for the wrong type of file but I would really appreciate some help on how to get downloads like this with no obvious runnable files up and running.



Thanks in advance


More From » software-installation

 Answers
0

You don't extract .jar files, because they are Java Archives and should therefore be executed using Java (or in case of a library included in your project). Ubuntu opens .jar using the Archive Manager by default because it is actually a ZIP file.



So you should install Java first. If you haven't already, you can execute the following commands to install OpenJDK (an open source version of Java):



sudo apt-get update
sudo apt-get install openjdk-7-jre


Now you can open the .jar file using java -jar file.jar in the terminal or by double clicking it in your file manager.


[#25479] Sunday, July 10, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
terneive

Total Points: 329
Total Questions: 117
Total Answers: 105

Location: Denmark
Member since Tue, Oct 18, 2022
2 Years ago
;