top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

jar command missing in Fedora 19?

0 votes
434 views

I just installed Fedora 19 anew from the live cd and I'm having a few issues. One is that I'm trying to install a java application that requires the jar command, but jar can't be found:

jar xf myApp.jar 
bash: jar: command not found...

I have this:

rpm -qa | grep -i java
java-1.7.0-openjdk-1.7.0.25-2.3.10.3.fc19.x86_64
javapackages-tools-0.14.1-2.fc19.noarch
tzdata-java-2013c-1.fc19.noarch

Shouldn't jar be in one of these? If not, could someone please tell me what package provides that?

posted Jul 5, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

2 Answers

0 votes

It's in the "-devel" package, for instance

java-1.7.0-openjdk-devel

To look for a specific file

yum provides */the_file

in this case

yum provides */bin/jar
answer Jul 5, 2013 by anonymous
Thank you! Very useful "yum provides" command.

Incidentally, I went to file manager and clicked on myApp.jar, opened it  with archive manager, selected the files I needed and it extracted them, so I gues that can handle java archives too.
0 votes

jar xf myApp.jar
thats not the right command to launch a java app, you surely mean
java -jar yourappname.jar ....

answer Jul 5, 2013 by anonymous
Similar Questions
+1 vote

How can I add an application launcher to the favorites menu in Fedora 19?

+1 vote

I have just installed virt-manager in Fedora 19. I have looked into the /etc/init.d directory but I can't find any init scripts for libvirt.

Is libvirt using systemd, and if so, how do I start it?

+1 vote

Booted machine from livecd image, and the gnome3 worked.

Used Fedup to upgrade an Fedora 18 setup to Fedor 19, and gnome3 doesn't work (Opps screen), but KDE and Xfce does.

Did a clean install from the DVD image of Fedora 19 to a new hard disk, and gnome3 doesn't work, kde regular doesn't work, kde failsafe works, and xfce works.

The machine has a nvidia geforce FX 5200 card, which I know is old, but that is what my classroom has in all 20 machines. So, not just a matter of getting a different card. Long ago was using the nvidia driver from there site, but they dropped support for the older cards, so had to switch to the nouvea driver.

Any suggestions, or just have to stick with xfce..

0 votes

I'm having trouble starting transmission-daemon. When I try to start it with systemctl, it hangs:

 # systemctl start transmission-daemon.service

If I let it be for a few minutes (~5), it finishes with a failure. The log is extremely unhelpful. This is very strange because it was working just fine until a few days ago.

0 votes

Today I issues a fedup-cli network 19 command. At the end of procedure that ended right when rebooting I get

Bad news:
I get a black window if I login as any user with a fedora logo on the bottom of screen but I can use tty and then issue a startx

Good news
after issuing startx my old video card (Geforce FX5200) works fine with Gnome 3.

Why do I have only F18 kernel??

...