The bug
When starting the Minecraft Launcher, it fails to start after trying to install Java. It seems like it cannot move the Java license file to another disk.
The following lines appear in the launcher log:
[Info: 2019-10-11 16:30:03.8094579: PistonUpdate.cpp(361)] MoveFile(C:\Users\<username>\AppData\Local\Temp\MinecraftLauncher\PistonStaging\3e86865deec0814c958bcf7fb87f790bccc0e8bd, D:\Program Files (x86)\Minecraft Launcher\runtime\jre-x64\LICENSE
[Error: 2019-10-11 16:30:03.8098162: PistonUpdate.cpp(403)] Update failed for: LICENSE, Error: The system cannot move the file to a different disk drive.
Original description
I just issued a problem where I installed my launcher on my D:\ disk and Java was installed in the C:\. The launcher couldn't find Java and it's impossible to tell it where to find it. You absolutly NEED to install the launcher in the same disk as Java if you want it to work.
Maybe a possible futur improvement ?
Linked issues
is duplicated by 3
relates to 2
Attachments
Comments 14
@violine1101 no because the launcher doesn't even launch when started for the first time if Java isn't at the good path. It tries to "Update Java runtime", then the progression bar stop and a dialog box opens to say that it's impossible to update.
I've edited the ticket a bit so that it's more clear what the issue is. And you're not alone with the issue, others have reported it as well.
I'd like to add that if the temp folder is not the same drive the java version is to be installed on, it will fail:
[Info: 2019-10-12 15:29:14.5517125: PistonUpdate.cpp(361)] MoveFile(T:\Temp\MinecraftLauncher\PistonStaging\3e86865deec0814c958bcf7fb87f790bccc0e8bd, G:\Minecraft\runtime\jre-x64\LICENSE
[Error: 2019-10-12 15:29:14.5517125: PistonUpdate.cpp(403)] Update failed for: LICENSE, Error: The system cannot move the file to a different disk drive.
Which is the real problem. It's trying to move the files across disks instead of copying them to the destination and deleting the temporaries.
A possible workaround is to set the temp folder to be on the drive you're installing on (you can do this from console with SET TMP=<drive letter>:\TEMP then running the installer from that console).
The workaround is starting the Minecraft Launcher on the C:\ drive. You're currently using the E:\ drive for Minecraft. Obviously that is not optimal, but it should work, as the error stems from the launcher trying (and failing) to move a file to a different drive.
I can hereby confirm that the issue has been resolved in the updated Bootstrap code (601) of the Launcher build/version that was released/signed on October 15th.
PROOF:
[media]
This is a bootstrap fix that affects multiple core versions, the earliest, Windows version 2.1.5964.
Hi, I'm not a coder or programmer, but I do know how to open command prompt of course. And I'm experiencing this issue. I didn't really understand the steps.
The file location for my game is "C:\Program Files (x86)\Minecraft Launcher\MinecraftLauncher.exe" .
So which command do I do. If you're going to answer, please write the directory for my game so that I could just copy paste it into cmd prompt.
Thanks
What do you mean? I use a different java installation from a different disk, and it works fine. You can customize it by editing the installation and clicking on "More options". Then you can enter any path to where the java installation is.