Due to the launcher's reliance on the com.sun.awt.AWTUtilities which has been removed in Java 11, it does not function with newer versions of Java. While this is fine for most users under Windows, it can be problematic for users under Linux as some distros do not offer older JREs as a package, forcing the user to compile the JDK from source to run the launcher. In modern versions of Java, all of the aforementioned class's functionality is provided by other APIs, so it would make sense to migrate. See the Oracle and OpenJDK bugs for more details.
Question
JavaBad
Due to the launcher's reliance on the com.sun.awt.AWTUtilities which has been removed in Java 11, it does not function with newer versions of Java. While this is fine for most users under Windows, it can be problematic for users under Linux as some distros do not offer older JREs as a package, forcing the user to compile the JDK from source to run the launcher. In modern versions of Java, all of the aforementioned class's functionality is provided by other APIs, so it would make sense to migrate. See the Oracle and OpenJDK bugs for more details.
https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8200149
https://bugs.openjdk.java.net/browse/JDK-8200149
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.