Uploaded image for project: 'Minecraft Launcher'
  1. Minecraft Launcher
  2. MCL-3691

Launcher does not start under Java 9

XMLWordPrintable

    • Icon: Bug 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.

            Unassigned Unassigned
            KJ4IPS Aaron Haun
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: