5.1 Crashes when launching Java 8 Swing app with closed lid
I have a macBook Pro (15-inch, Late 2016) running on macOS Mojave 10.14.3 with DisplayLink Driver 5.1 for the Dell Dock D6000.
I use a single external monitor with 1920x1200 resolution via a DisplayPort Adapter. When I connect the macBook to the dock and close the lid, then I cannot start any Java Swing based application using JDK8 or JDK11. You can use the following code to reproduce the problem. The code is based on a Stackoverflow example. Code:
package dell_d6000; Code:
=== Start === Code:
=== Start === - https://www.displaylink.org/forum/sh...ad.php?t=66114 - https://stackoverflow.com/questions/...rtup-on-mac-os A fix for this issue would be very much appreciated. Thank you. |
Same here with MBP 2018 and DisplayLink v5.1. Even Java Control Panel does not start from System Preferences in clamshell mode.
Probably has to do something with the fact that Java wants to switch graphics cards on startup, but is confused to find DisplayPort instead. Just guessing though. Java software works fine if you start it with DisplayPort not connected and connect it later. |
Since the sample code works with JDK7 but not with newer JDKs, it might be a JDK bug.
See https://bugs.openjdk.java.net/browse/JDK-8223158 |
fyi.
It was solved based on an Oracle Support Request I've opened. It was a JDK Bug. Fixed with JDK1.0.8_231-b34. I tested it also successfully with JDK11.0.5. See also https://bugs.openjdk.java.net/browse/JDK-8223158 |
All times are GMT. The time now is 05:10 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.