This is a local environment issue. Usernames with spaces and/or incorrect java installed or set in the path/launcher youre using, frequently cause this. Get a good launcher that lets you install forge easily (like MultiMC), and make sure thats installed properly. Read the logs, and pastebin them for help if youre still broken.