Skip to content

Commit 8da868d

Browse files
author
Federico Fissore
committed
Attempt to fix glitches introduced by java8 on windows. Fixes #2761
1 parent 3750131 commit 8da868d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/windows/launcher/config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
<maxVersion></maxVersion>
3434
<jdkPreference>preferJre</jdkPreference>
3535
<opt>-splash:./lib/splash.png</opt>
36+
<opt>-Dsun.java2d.d3d=false</opt>
3637
</jre>
3738
<messages>
3839
<startupErr>An error occurred while starting the application.</startupErr>

build/windows/launcher/config_debug.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@
3232
<minVersion>1.8.0</minVersion>
3333
<maxVersion></maxVersion>
3434
<jdkPreference>preferJre</jdkPreference>
35+
<opt>-Dsun.java2d.d3d=false</opt>
3536
</jre>
3637
<messages>
3738
<startupErr>An error occurred while starting the application.</startupErr>
3839
<bundledJreErr>This application was configured to use a bundled Java Runtime Environment but the runtime is missing or corrupted.</bundledJreErr>
3940
<jreVersionErr>This application requires at least Java Development Kit</jreVersionErr>
40-
<launcherErr>The registry refers to a nonexistent Java Development Kit installation or the runtime is corrupted.</launcherErr>
41+
<launcherErr>The registry refers to a nonexistent Java Development Kit installation or the runtime is corrupted.</launcherErr>
4142
<instanceAlreadyExistsMsg>An application instance is already running.</instanceAlreadyExistsMsg>
4243
</messages>
4344
</launch4jConfig>

0 commit comments

Comments
 (0)