Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1005866 // Disable Direct3D (possible bugfix for Java on Windows XP)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (1125L/8K/27K).

!752

p {
  S s = javaxDefaultVMArgs();
  S fix = "-Dsun.java2d.d3d=false";
  if (!contains(s, fix))
    setDefaultVMArgs(s + " " + fix);
}

Author comment

Began life as a copy of #1005864

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005866
Snippet name: Disable Direct3D (possible bugfix for Java on Windows XP)
Eternal ID of this version: #1005866/1
Text MD5: 999deabdfe424d835cbf2a28a54c3e2a
Transpilation MD5: 406ecb65e6b5f6c5b163d0cb3b21f3bf
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-11 15:04:55
Source code size: 146 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 498 / 585
Referenced in: [show references]