Ask Your Question

How to make a .jar file executable by clicking?

asked 2017-02-18 12:21:24 -0500

codecrawl gravatar image

Hi, so my question is how do I make a .jar program executable by left click/double click. For example I have programs in my Downloads folder i.e. "program.jar". I've been running these kinds of programs by executing the following code "java -jar /path/to/file/program.jar" in the terminal. How can I make the "program.jar" executable by clicking it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-02-18 12:45:13 -0500

fcomida gravatar image

updated 2017-02-18 12:51:22 -0500

In KDE Plasma I have "Open with...Java" right clicking on a .jar file. Something similar should be possible in other DEs. Another possibility here: How to make a JAR file Linux executable

EDIT: Actually jars can be executed just double clicking on them in Plasma

edit flag offensive delete link more


What is KDE plasma?

codecrawl gravatar imagecodecrawl ( 2017-02-22 13:20:20 -0500 )edit

& I thank you for your response.

codecrawl gravatar imagecodecrawl ( 2017-02-22 13:20:36 -0500 )edit

Plasma is the Desktop Environment of the KDE Project.

fcomida gravatar imagefcomida ( 2017-03-03 01:36:54 -0500 )edit

Question Tools

1 follower


Asked: 2017-02-18 12:21:24 -0500

Seen: 444 times

Last updated: Feb 18 '17