Download Jar. Libraryless. Click here for Pure Java version (3080L/18K).
!7 // ...at least when your Linux even HAS a start menu p { File apps_dir = linuxStartMenuApplicationsFolder(); File file = new File(apps_dir, "javax.desktop"); File javaxPath = javaxJarPath(); print("Writing " + file); saveTextFile(file, " [Desktop Entry]\n" + " Version=1.0\n" + " Name=JavaX\n" + " Name[en_US]=JavaX\n" + " Comment=JavaX Runner\n" + " Exec=java -jar " + javaxPath.getAbsolutePath() + "\n" + " Icon=\n" + " Terminal=false\n" + " Type=Application\n" + " Encoding=UTF-8\n" + " Categories=Accessories;Development;\n"); print("Done!"); }
Began life as a copy of #1003662
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009124 |
Snippet name: | Add JavaX To Start Menu (Linux, WORKS) |
Eternal ID of this version: | #1009124/11 |
Text MD5: | a27f5fe150e60f1244b62288c1d7db46 |
Transpilation MD5: | 1a6b8be015d218a066ea8accaaa14285 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-05-17 12:40:23 |
Source code size: | 668 bytes / 23 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 546 / 1315 |
Version history: | 10 change(s) |
Referenced in: | #1031173 - linuxStartMenuApplicationsFolder (just for the user, e.g. on Ubuntu) #1031175 - stefansOS_addToLinuxStartMenu |