Minecraft Wiki
(Created page with "= Can't connect to minecraft.net, and lower part of launcher has a black background = == Problem == Cannot connect to minecraft.net when attempting to log in via the launche...")
 
 
Line 1: Line 1:
 
= Can't connect to minecraft.net, and lower part of launcher has a black background =
 
= Can't connect to minecraft.net, and lower part of launcher has a black background =
   
== Problem ==
+
'''Problem'''
   
 
Cannot connect to minecraft.net when attempting to log in via the launcher, and the login section at the lower part of the launcher has a black background, instead of the normal dirt background.
 
Cannot connect to minecraft.net when attempting to log in via the launcher, and the login section at the lower part of the launcher has a black background, instead of the normal dirt background.
Line 7: Line 7:
 
A sample java error report for the problem is shown at http://pastebin.com/Mi2wrnvM
 
A sample java error report for the problem is shown at http://pastebin.com/Mi2wrnvM
   
== Cause ==
+
'''Cause'''
   
 
When you run a command prompt, you will see that the directory name for your account contains special characters in it. For example:
 
When you run a command prompt, you will see that the directory name for your account contains special characters in it. For example:
Line 17: Line 17:
 
This cannot be fixed by renaming your account username because the folder name for your windows account still remains with the same problem.
 
This cannot be fixed by renaming your account username because the folder name for your windows account still remains with the same problem.
   
== Solutions ==
+
'''Solutions'''
   
 
There are a couple of solutions that can be applied.
 
There are a couple of solutions that can be applied.
   
=== Create a new user account without special characters ===
+
== Create a new user account without special characters ==
   
 
You can create a new user account, so that special characters are no longer in the directory name for your user. Just renaming your account is not effective, as that doesn't change the directory name.
 
You can create a new user account, so that special characters are no longer in the directory name for your user. Just renaming your account is not effective, as that doesn't change the directory name.
   
=== Tell ''Minecraft'' to place the data files somewhere else ===
+
== Tell ''Minecraft'' to place the data files somewhere else ==
   
 
Another solution is to set the APPDATA location to somewhere else for the game.
 
Another solution is to set the APPDATA location to somewhere else for the game.
Line 36: Line 36:
 
</pre>
 
</pre>
   
=== Minecraft Profile Fix program ===
+
== Minecraft Profile Fix program ==
   
 
You can run this [http://mcfaq.hfbgaming.com/tools/WindowsProfileFix.exe profile fix] file which moves the data files for you, creates a batch file, and places a shortcut to it on the desktop for you.
 
You can run this [http://mcfaq.hfbgaming.com/tools/WindowsProfileFix.exe profile fix] file which moves the data files for you, creates a batch file, and places a shortcut to it on the desktop for you.

Latest revision as of 23:17, 12 January 2013

Can't connect to minecraft.net, and lower part of launcher has a black background

Problem

Cannot connect to minecraft.net when attempting to log in via the launcher, and the login section at the lower part of the launcher has a black background, instead of the normal dirt background.

A sample java error report for the problem is shown at http://pastebin.com/Mi2wrnvM

Cause

When you run a command prompt, you will see that the directory name for your account contains special characters in it. For example:

   C:\Users\Mine!>

Having special characters in your windows username, or an exclamation mark at the end, breaks Java's ability to work with files needed for Minecraft.

This cannot be fixed by renaming your account username because the folder name for your windows account still remains with the same problem.

Solutions

There are a couple of solutions that can be applied.

Create a new user account without special characters

You can create a new user account, so that special characters are no longer in the directory name for your user. Just renaming your account is not effective, as that doesn't change the directory name.

Tell Minecraft to place the data files somewhere else

Another solution is to set the APPDATA location to somewhere else for the game.

You can do this with a batch file that changes the APPDATA location, and place the batch file along with minecraft.exe in a location that is outside of your user area:

    @echo off
    set APPDATA=.
    minecraft.exe

Minecraft Profile Fix program

You can run this profile fix file which moves the data files for you, creates a batch file, and places a shortcut to it on the desktop for you.

Download it and run it with administrator permissions.