
Java(tm) Launcher
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Java Archive (*.jar) Launcher
15 years ago
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
15 years ago
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
FellowConspirator
15 years ago
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).
Report
denisq
15 years ago
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/
Report
maarizwan
15 years ago
appreciate your work, but it is not the best approach IMHO. thanks.
Report
kdt
15 years ago
Report
anytimeIsLunchtime
15 years ago
(the command you want is of course: "java -jar")
Report
denisq
10 years ago
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?)
Report