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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now