mojira.dev
MCL-774

Game doesn't run under user account with exclamation marks / special characters

Mod Edit

You cannot have '!'s in your user name / profile name, this breaks java horribly.

This is something we cannot control or fix 😞

You can fix it by not having '!'s in your user name / profile name name.

– @unknown in MCL-1133

For more information on how this bug can be fixed on your side, see https://minecrafthopper.net/help/special-characters/

This bug was submitted to Oracle in 2001 and still awaiting to be fixed: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4523159

Downloaded the 1.6 launcher last night, and after the files were downloaded, I attempted to start the game. Basically, it threw a bunch of code(and since I'm not particularly learned in Java coding), I have no idea what it means, save that there was an error of some sort.

After looking around for a while the only other players having this error are apparently on macs, which I am not; I'm running Windows 7 64-bit. I've updated Java to the latest version in both 64 and 32 bit.

Also, if it means anything, prior to the new launcher I was having the "can't connect to Minecraft.net" error, which has apparently been resolved in this launcher.

Related issues

MC-69366 Cannot start Minecraft Server on Windows 7 MC-71857 fatal error: java.lang.ExceptionInInitializerError MC-76334 Fatal Error on luncher MC-79574 Error when I click "Play" on the launcher. How do I fix? MC-95022 Procedded to downloaded from my mojang account as normal. All went well to downloading minecraft. The launcher showed up and such. Went to launch but always giving me error message MC-114854 Minecraft Launcher Play Button Crash MC-116128 Game Crash When I Play The Game MC-119961 FATAL ERROR: java.lang.ExceptionInInitializerError while i have no folder created MC-120344 Crash and Failure to Run with a Specific Character in a Valid AppData Path MC-121089 MineCraft crashes on launch MC-122123 I don't know what to do, I have re-installed Mincraft quite litteraly a dozzen times and all my drivers are up-to-date. MC-122695 Crash of the game MC-122865 Game not open MC-126752 Mc crashes when i try to start (NO CRASH LOG) MC-127332 Crash on launcher MC-135190 my launcher minecraft java edition does not work MC-142857 Minecraft Launcher - Game Crash MC-143891 Game crash MC-146176 Minecraft Crash on launch, strange activity in task manager MC-146277 My game will crash right after i press play MC-148183 Process Monitor crashed: exit code 1 - HELP PLEASE!!! MC-148926 Game Crash On Start MC-158513 Minecraft crashes everytime I hit Play MC-162964 Game crashed An unexpected issue occurred and the game has crashed. MC-164946 Start game crashes on Windows 10 x64 MC-165347 Poblem when i try to play Minecraft MC-168289 GAME CRASH: an unexpected issue occurred and the game has crashed. We're sorry for the inconvenience MC-169215 Crashing every time i try to open launcher MC-171271 error game crashed an unexpected issue occurred MC-175547 Game crashed MC-176067 je n'arrive pas à lancer Minecraft Java sous win 10 MC-195277 Whenever i try to launch Minecraft: Java Edition, it ALWAYS gives me this one error: java.lang.ExceptionInInitializerError MC-197209 i cant launch minecraft MC-205743 I try to launch minecraft but it crashes because of some file that has gone wrong MC-206138 Minecraft crashes after I click Play MC-209892 CPU UKNOW ? MC-212833 Game Crashed While Initializing MC-214727 Downloaded Java edition Launcher for the first time on this PC. No Mods. Completely Vanilla. Try to play the game from the Launcher and it wont even start. MC-216164 When I try to launch minecraft from the launcher I get The game crashed whilst initializing game Error: java.lang.ExceptionInInitializerError Exit Code: -1 MC-216292 Can't launch the actual game because I get this an error code. MC-216496 Absolutely ridiculous CONSTANT game crashes. For 4 years I haven't been able to play this game I paid full price for MC-216727 Initializing game MC-217463 nelze spustit hra MC-220716 game cant launch because of pc username MC-220858 Vanilla Minecraft Crashing On Startup MC-225257 Minecraft crashing before it even opens the actual game. See below. MC-227747 just downloaded for first time and it wont start MC-259753 Cannot launch MC Java when windows user has special letters. MCL-1019 My Minecraft won't launch Game ended with bad state (exit code 1) MCL-1133 The game won't play exit code 1 MCL-1147 I can't start the version 1.6.2 of Minecraft with the version 1.0.9 of the launcher MCL-1193 get game error code one when i start up MCL-1359 Java Exception with Launcher trying to start game MCL-1380 Pressing play and it crashes MCL-1381 Launcher Will Not Launch Game: Exit Code 1: Exception in thread "main" java.lang.ExceptionInInitializerError MCL-1382 Game wont launch exit code 1 MCL-1695 Exit code 1, October 2013 MCL-1711 MC launcher experiencing fatal error since complete computer re-install MCL-1740 Fatal Error MCL-1855 Minecraft can not launch MCL-2019 Minecraft fatal error: java.lang.ExceptionInInitializerError (launcher) MCL-2179 i just got the newest launcher and when i open it gets an error MCL-2370 bug when start the game MCL-2374 Minecraft 'error' MCL-3562 Game output MCL-3696 'Error" when I try and load the game MCL-3738 Java MCL-4187 Minecraft Dont Run ! MCL-4412 Can't run minecraft for the first time. MCL-4484 so completely wiped my laptop because it had a virus then when i re downloaded minecraft i got this error. MCL-4506 minecraft MCL-6816 Launcher Game Crash MCL-6830 MC Launcher Play Button keeps crashing MCL-7223 GAME CRASH: An unexpected issue occurred and the game has crashed. We're sorry for the inconvenience MCL-7298 Game crash, an unexpected issue has occurred MCL-7606 Can't install newer versions. MCL-7632 Minecraft crashes when I hit play... MCL-7647 Minecraft 1.12 Server Jar Missing Dependencies In Classpath and Possibly Jar MCL-7675 No error just a game who crash MCL-7682 Crash running Minecraft Launcher MCL-7842 Не запускается minecraft. MCL-7855 Minecraft not launching MCL-7909 aidé moi MCL-8050 An unexpected issue occurred and the game has crashed. We're sorry for the inconvenience. MCL-8185 Game Crash - Launcher fails. MCL-8524 Can't launch game if Windows username is in Hebrew MCL-8742 New Download - Game will not start MCL-9059 what is this? MCL-9273 Launcher won't work, error messages change randomly MCL-9674 1.13 server download not working MCL-9992 minecraft launcher crash MCL-10066 Crashing, don't know why MCL-10269 ERROR ON ENTRY IN THE GAME MCL-10286 Whenever I go to launch Minecraft through the launcher it crashes. Any help? MCL-10340 My Minecraft java edition kept crashing i cant even play it MCL-10467 I launch minecraft and says it failed to launch cause of an unexpected error MCL-10584 minecraft ver. 1.13.2 crashing on startup MCL-10600 minecraft crashes upon launch MCL-10775 Crash On Launch New install MCL-10880 Minecraft wont Launch, comes out to Exit code 1 MCL-11149 Game crashes on launch after first downloading it MCL-11614 minecraft can't launch HELP MCL-11719 Im Launcher auf spielen drücken startet nicht das Spiel, sondern gibt nur einen Fehler: Spielabsturz. MCL-12252 Game crashes upon launching MCL-13020 Error game crashed MCL-13314 Hey So I just Installed Minecraft and every time I try to launch it crashes MCL-13459 Launcher Crashing MCL-13724 Minecraft launcher crashes upon clicking "play", has no known fix MCL-14483 Will Not Launch MCL-14684 game crashed whilst initializing MCL-15678 Minecraft crashes after I click Play MCL-17174 Game Crashes right as launcher finishes loading up MCL-17319 My launcher keeps crashing and says" Exit Code: -1" everytime MCL-17365 Minecraft won't launch, Exit Code 0 JAVA EDITION MCL-18863 Changing Working Directory MCL-23010 Error code 1 because my computer username contain a "é"

Attachments

Comments

migrated
[media]
kumasasa

Please attach the complete output of the "Development console" of the launcher. CTRL-A, CTRL-C there, CTRL-V in the ticket.

kumasasa
C:\Users\Jasyn!!

Use a username without exclamation marks. This is a serious problem with pathnames and Java.

migrated

Thank you so much! you have the best thanks and reguards my good friend and also, happy new years!

migrated

Hello,

I tried creating a new account on my computer with no special characters in the name, just letters. I ran minecraft.exe and it gives me the same error as I talked about earlier.

Same thing happens when I try to change the directory that minecraft works in.

migrated

How do I fix this without having to create a secondary profile on my PC. The fact that I'm having this error because my main profile for the computer has an ! on the end of it is absolutely ridiculous.

 

Once I created the secondary profile it was fine and loaded like any normal program. But once I switched back after successfully having it load on the second computer profile, the main one still won't function correctly because of the "!" on the end.

 

Looking at the other people suffering from the same thing, they've also said removing any special characters from the names after the fact does not fix it.

 

(Edit) 1/25/2021

 

Going into my control panel to edit the user profile to something without the ! point on the end of it has not fixed the issue. My ticket was closed because it is saying it's a duplicate of this one. 

 

The game crashed whilst initializing game
Error: java.lang.ExceptionInInitializerError
Exit Code: -1

Minecraft Crash Report ----
// This doesn't make any sense!

Time: 1/25/21 12:40 AM
Description: Initializing game

java.lang.ExceptionInInitializerError
at ekh.<init>(SourceFile:65)
at djz.<init>(SourceFile:404)
at net.minecraft.client.main.Main.main(SourceFile:177)
Caused by: java.nio.file.FileSystemNotFoundException: C:\Users\SANTA
at com.sun.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:120)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276)
at abm.a(SourceFile:52)
at abm$$Lambda$2134/2099220587.accept(Unknown Source)
at x.a(SourceFile:351)
at abm.<clinit>(SourceFile:41)
... 3 more

A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

 Head 
Thread: Render thread
Stacktrace:
at ekh.<init>(SourceFile:65)
at djz.<init>(SourceFile:404)

 Initialization 
Details:
Stacktrace:
at net.minecraft.client.main.Main.main(SourceFile:177)

 System Details 
Details:
Minecraft Version: 1.16.5
Minecraft Version ID: 5a417a81648244aa8ceae8301ef4d20e
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_51, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 1078155120 bytes (1028 MB) / 1744830464 bytes (1664 MB) up to 2147483648 bytes (2048 MB)
CPUs: 8
JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
Launched Version: 1.16.5
Backend library: LWJGL version 3.2.2 SNAPSHOT
Backend API: NO CONTEXT
GL Caps:
Using VBOs: Yes
Is Modded: Probably not. Jar signature remains and client brand is untouched.
Type: Client (map_client.txt)
CPU: <unknown>
pokechu22

Changing the account name does not fix the issue; the problem is the ! in the path which isn't changed when renaming your account. As the linked post says, you need to either change the game's work directory (so that Minecraft jars are not in a folder that has an ! in it), or create a new user account whose name does not have an !. The page seems to no longer have a link, but here are instructions on how to change the work directory.

migrated

The Minecraft launcher is not a .exe file

pokechu22

If you no longer wish to receive emails, click "stop watching this issue" near the top right of the report. People commenting on an issue that they are still running into is normal behavior, and 4 comments over over 4 years is not an excessive number.

migrated

delete my Jira account

migrated

What should I do if its not a .exe file

MMK21

The link to the upstream bug in the Moderator Note is now dead (domain moved). Here's the new one for your convenience: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4523159
The link has been updated

migrated

(Unassigned)

Unconfirmed

Retrieved