Java Platform, Standard Edition Troubleshooting Guide
Contents    Previous    Next

Properties on Windows

The following list describes some useful properties on Windows platforms.

  • The DirectDraw/GDI pipeline is the default pipeline for Windows. Change this default as follows:

    • -Dsun.java2d.noddraw=true Disable the use of DirectDraw pipeline. GDI will be used instead.

    • -Dsun.java2d.noddraw=false Enable the use of DirectDraw pipeline.

    • -Dsun.java2d.d3d=false Disable the use of Direct3D pipeline.

    • J2D_D3D=false Disable the use of Direct3D pipeline.

    • -Dsun.java2d.d3d=true Enable the use of Direct3D pipeline.

    • J2D_D3D=true Enable the use of Direct3D pipeline.

  • Control the use of the built-in surface punting mechanism as follows:

    • -Dsun.java2d.ddforcedram=true Keep volatile images in VRAM.

  • Control the use of DirectDraw blit operations as follows:

    • -Dsun.java2d.ddblit=false Disable the use of DirectDraw blit operations. GDI blits will be used instead.

Contents    Previous    Next

Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved.