Czech, Thai, and Turkish language wikis are now available. Please help with translating!

Tutorials/How to get a crash report (Outdated)

From Minecraft Wiki
Jump to: navigation, search
This page contains content that is no longer in the game.
These features only exist in outdated versions of Minecraft.

More often than not, Minecraft automatically closes itself after a crash rather than displaying an error report. Here are some methods to find the error report.

Windows[edit | edit source]

Method 1[edit | edit source]

  1. Browse to the folder that contains your minecraft.exe launcher
  2. With no files selected (left click on background to deselect), Shift+Right Click anywhere in background of the window, and choose "Open command window here"
  3. Copy the following code:
    "%ProgramFiles%/Java/jre7/bin/java" -Xms1G -Xmx1G -cp Minecraft.exe net.minecraft.LauncherFrame
    
  4. Right click in the command window, select Paste and then press enter
  5. Login, start Single or Multiplayer and reproduce the crash
  6. Once you have obtained the crash report, right click on it, select all and press Enter to copy, then paste it to the proper mod thread for assistance

Method 2[edit | edit source]

  1. Open notepad and paste this code:
    "%ProgramFiles%/Java/jre7/bin/java" -Xms1G -Xmx1G -cp Minecraft.exe net.minecraft.LauncherFrame > log.txt
    
  2. Click "save as", name the file minecraft-report.bat
  3. Underneath where you put the file name there will be a pull down menu named file type, select the file type as All Files, and click save.
  4. Run the bat file that you just created. Try to duplicate the crash. Upon crashing, an error report will be created, named "log.txt". Congratulations, you have just created an error report.
  5. Open the log.txt file
  6. Once you have obtained the crash report, right click on it, select all and press Enter to copy, then paste it to the proper mod thread for assistance.

Mac OSX[edit | edit source]

Method 1[edit | edit source]

  1. Go to Macintosh HD/Applications/Utilities and open Console.app
  2. Run minecraft and when it crashes the java log will be added to the console, which you can then select and copy

Method 2[edit | edit source]

This method is similar to Windows' method 2 in that you can use a separate file to launch Minecraft.

  1. Create a new text file and open it
  2. Make it a plain text file (In TextEdit, use ⇧ Shift+⌘ Command+T)
  3. Copy and paste the following code: cd ~/Library/Application\ Support/minecraft/bin; java -Xms512M -Xmx1024M -Xincgc -cp "minecraft.jar:jinput.jar:lwjgl.jar:lwjgl_util.jar" -Dorg.lwjgl.librarypath="$(pwd)/natives" -Dnet.java.games.input.librarypath="$(pwd)/natives" net.minecraft.client.Minecraft
  4. Save the file with any name you like, but uncheck both "Hide extension" and "If no extension is prvided, use '.txt:'.". Use extension ".command"
  5. Run the file (which will open a Terminal window), and the next time Minecraft crashes, the log will be spit out into Terminal

Linux[edit | edit source]

  1. Open a terminal (on distributions such as Ubuntu/Linux Mint, this is done with Ctrl + Alt + T)
  2. Run java -Xms512m -Xmx1024m -jar minecraft.jar and watch the console output. You can select and copy it after making the game crash.