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
  • 1
    Welcome to Ask Ubuntu. Could you please tell what kind of programm needs you to install as a jar-file?
    – MadMike
    Jan 25, 2014 at 22:39

1 Answer 1

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
1
  • There is also this on installing Java...
    – Wilf
    Jan 25, 2014 at 23:04

Not the answer you're looking for? Browse other questions tagged .