Ask Your Question

How to install .jar file(s) onto Fedora?

asked 2013-08-26 00:58:11 -0500

Steven_0111 gravatar image

updated 2013-08-26 06:56:50 -0500

baptistemm gravatar image

I want to install a program called: pdf split and merge onto my computer. I am running Fedora 19 64-bit under GNOME. I have the file and I used

$ java -jar "PATH TO FILE"/pdfsam-2.2.2-out/pdfsam-2.2.2.jar

It opens and runs the program fine. But it doesn't install it permanently, how can I install it so I just go to my applications and click the icon.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-08-26 02:44:07 -0500

davidva gravatar image

updated 2013-08-26 04:03:37 -0500

Hi, I packed pdf split and merge, maybe can help you...

yum install
edit flag offensive delete link more

answered 2013-08-26 01:25:25 -0500

baptistemm gravatar image

updated 2013-08-26 01:59:08 -0500

To have an application launcher, you have to create a file myapp.desktop with this content.

[Desktop Entry]
Name=My Java Application
Comment=My nice explanation
Exec=java -jar /$path/to/file/pdfsam-2.2.2-out/pdfsam-2.2.2.jar

to make sure your file myapp.desktop is correct, open a terminal and run

desktop-validate-file myapp.desktop

Put the desktop file under ~/.local/share/applications/

The Full spec file with the complete list of fiel supported is located at


edit flag offensive delete link more

Question Tools


Asked: 2013-08-26 00:58:11 -0500

Seen: 4,329 times

Last updated: Aug 26 '13