How to change Java's default installation folder for Minecraft

How to change Java's default installation folder for Minecraft - Man screwing light bulb into lamp

I have my .minecraft folder on a USB drive, but it's getting old to keep copying and pasting it into my root directory every time I want to play. It's nice keeping all my Minecraft files on a USB, but I would like to be able to run the entire game from the USB. It seems that Java always looks on my PC's program/app data files even if I run the Minecraft launcher from the USB. Is there a way to change Java's default root directory to a USB?

I am using a Linux Mint.






Pictures about "How to change Java's default installation folder for Minecraft"

How to change Java's default installation folder for Minecraft - Crop unrecognizable coworkers in formal wear standing at table with laptop and documents while greeting each other before meeting
How to change Java's default installation folder for Minecraft - Free stock photo of adult, business, buyers agent
How to change Java's default installation folder for Minecraft - Silver Round Coins on Brown Wooden Surface



Where does Minecraft install by default?

minecraft folder can be vital for installing a resource pack or to locate any made screenshots. The Windows location in the table above is just the default case. Launchers can set the . minecraft at any path....Locating . minecraft.OSLocationmacOS~/Library/Application Support/minecraftLinux~/.minecraft1 more row

How do I reset my Minecraft default folder?

Reset Minecraft game application
  • Click Taskbar Search and type Minecraft.
  • Right-click on the result and select App Settings.
  • Scroll down and click the Reset button.
  • A pop up will prompt for confirmation; click Reset.
  • You will see a tick mark once the reset is done.


  • Can you move the minecraft folder to another drive?

    To find the Minecraft data folder on Windows, hold down the Windows key (usually a picture of the Windows logo, and typically between the Control and Alt key, usually to the left of the space bar) and then press the R key without letting go. A box should pop up, titled \u201cRun\u201d. In that box, you need to type %appdata%\\.



    How to switch multiple Java versions in Windows the Easy Way




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Anete Lusina, Sora Shimazaki, RODNAE Productions, VOLKAN SORKUN