Java(tm) Launcher

Dolphin Service Menus

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
Java Archive (*.jar) Launcher
Last changelog:

1.0.2
- Added Polish translation

1.0.1
- Added German and French translations (thanks to denisq)
- New icon
- README.txt: Added link to the kde-apps.org page
- Changed order of the installer menu items

1.0
- Initial release


Ratings & Comments

6 Comments

FellowConspirator

It makes more sense to use binfmt-misc than Konqueror. If anyone is interested, I have a prepackaged (RPM and tgz) setup for enabling it. Basically, Linux permits you to register new executable types and how the executable is started. It's trivial to register jars as an executable type and have it 'java -jar' the jar if you set the executable bit on it. This has the advanatage that the jar file with the executbale bit follow all of the same semantics as regular executables (including the use of the execute bit to differentiate them from non-executable jars).

denisq

that's true that KDE should be configured to launch it by double-clicking, but instead of it ark is being opened... :-| here is my version of it: [Desktop Entry] ServiceTypes=application/x-jar Actions=runjar [Desktop Action runjar] Name=Run Java Archive Name[de]=Java-Archiv ausführen Name[fr]=Exécuter l'archive Java Icon=source_java Exec=java -jar %f nicer icon and other description! btw, you can put it into your Home, instead of installing it as root: ~/.kde/share/apps/konqueror/servicemenus/

maarizwan

konqueror's file type will do good justice, just clicking would help launch the jar file instead of right-clicking and actions->run java archive. appreciate your work, but it is not the best approach IMHO. thanks.

kdt

IMHO this could be a little bit confusing for some people, because not all .jar-files are "executable"

anytimeIsLunchtime

why not add an application for the mime-type "application/x-jar"? (the command you want is of course: "java -jar")

denisq

I fully agree, it is easier an cleaner! I am wondering why this method is not more popular (why isn't it default, why is nobody writing that kind of .desktop file instead of service menus?)

Pling
0 Affiliates
Details
license
version 1.0.2
updated
added
downloads 24h 2
mediaviews 24h 0
pageviews 24h 2

Other Dolphin Service Menus:

burnWithGrowisofs
chunkylover
last update date: 20 years ago

Score 5.0

Firefox-bookmarks service menu
storyteller
last update date: 20 years ago

Score 5.0

Text Convert Service Menu
smp-penguin
last update date: 21 years ago

Score 5.0

Pdflatex servicemenu
bobuse
last update date: 20 years ago

Score 5.0

Send through Bluetooth
dmnet
last update date: 21 years ago

Score 5.0

Add to Bloglines
spookster
last update date: 21 years ago

Score 5.0



System Tags