2

New Ubuntu User - trying to download and install a file... in this case a .jar file... and having difficulty knowing where to install it.

I have used Software Center to install .exe files, and it is so easy and nice. But the .jar is not handled the same way for some reason... maybe because it requires Java?

What is the easiest/most direct way to download and install a file in Ubuntu when Software Center is not handling it for you?

  • 1
    Welcome to Ask Ubuntu. Could you please tell what kind of programm needs you to install as a jar-file? – MadMike Jan 25 '14 at 22:39
2

When you are given a .jar file, it needs to be run using your Java installation.

For example

java -jar minecraft.jar

If you do not have java, you can install it using

sudo apt-get install openjdk-7-jre
  • There is also this on installing Java... – Wilf Jan 25 '14 at 23:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.