Libraryless. Click here for Pure Java version (4017L/25K/89K).
1 | !7 |
2 | |
3 | p { |
4 | S s = javaxDefaultVMArgs(), old = s; |
5 | print("Default VM Args: " + quote(s)); |
6 | if (!s.contains("-Djava.awt.headless=true")) s = trim(s + " -Djava.awt.headless=true"); |
7 | if (neq(old, s)) |
8 | setDefaultVMArgs(s); |
9 | else |
10 | print("Keeping."); |
11 | } |
Began life as a copy of #1011264
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, ppjhyzlbdabe, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011289 |
Snippet name: | Add "Headless" to Global JavaX Options |
Eternal ID of this version: | #1011289/1 |
Text MD5: | 6ca3c608042158a5b1cd3c417edf3aec |
Transpilation MD5: | a171fe5e54d68911636fcba0f1f41aab |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-22 04:24:21 |
Source code size: | 263 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 408 / 535 |
Referenced in: | [show references] |