-
Bug
-
Resolution: Invalid
-
None
-
1.6.11
-
None
-
None
-
Windows 7: JDK9
-
Unconfirmed
Expected: Normaly Functioning Launcher
Actual:
Launcher throws a stacktrace during the bootstrap phase
Notes:
GarbageCollectorExtImpl was moved from sun.management, to java.management This causes the launcher to crash with a classnotfoundexception.
Workaround: Use java 8 (either via JAVA_HOME, or the native launcher on windows)
Suggested Fix:
Bit of a tricky one, if you check the system vars to see what java you are on, you can reflect the field into existence, but that's kinda hacky.
You could also us a gerericized class, that gets passed witch-ever exists.
Or finally, you could just provide two different launcher packs, but since java does not really have conditional compilation that would be really messy and probably be alot of code for a simple fix.
TL;DR: It's Oracle's fault.