Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-210898

Minecraft won't start if you assigned the .minecraft directory to a new drive

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.16.4
    • None
    • Windows 10 64-Bit
      CPU: AMD Ryzen 9 3900X
      Graphics card: AMD Radeon RX 5700
      Java version: 1.8.0_51 (provided by the minecraft launcher)
    • Unconfirmed
    • (Unassigned)

      Reproduction:

      Change your .minecraft location by moving it for example to a different drive.

      Then create a link with the command mklink /D ".minecraft" "(Your path)"

      Start the launcher and run 1.16.4.

      Minecraft starts until version 1.13, when minecraft switched to a newer version of LWJGL.

      Fixing the bug:

      When I set my java version to OpenJDK 15, my minecraft doesn't crash.

      The bug:

      After you've started minecraft version 1.16.4, minecraft should crash with an Error named java.lang.InternalError. The message is following: "Should not get here".

       

      The stacktrace is following:

      java.lang.InternalError: Should not get here at sun.nio.fs.WindowsNativeDispatcher.GetFinalPathNameByHandle(Native Method) at sun.nio.fs.WindowsLinkSupport.getFinalPath(WindowsLinkSupport.java:77) at sun.nio.fs.WindowsLinkSupport.getRealPath(WindowsLinkSupport.java:242) at sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:836) at sun.nio.fs.WindowsPath.toRealPath(WindowsPath.java:44) at com.sun.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:166) at java.nio.file.FileSystems.getFileSystem(FileSystems.java:221) at abm.a(SourceFile:50) at abm$$Lambda$2175/1564588329.accept(Unknown Source) at x.a(SourceFile:351) at abm.<clinit>(SourceFile:41) at ekh.<init>(SourceFile:65) at djz.<init>(SourceFile:404) at net.minecraft.client.main.Main.main(SourceFile:177)

            Unassigned Unassigned
            Budschie Kevin Kevin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: