Jump to content

How to run minecraft with username/password


Recommended Posts

How do you run minecraft with your username and password. I tried going into the run arguments and adding the username and password flags(with my username/password) but I get and error saying could not create java virtual machine. Any help?


EDIT:also are .lang files still a thing?(and where can I find out how to use them)


EDIT 2:Figured out what I was doing wrong with the .lang file- I forgot to put it in the correct path

The proud(ish) developer of Ancients

Link to comment
Share on other sites

My guess is that you added them as VM arguments not program arguments. VM arguments will be passed to the JVM when it starts and if the JVM receives an argument that is invalid, it won't create the instance of the JVM and will give you message somewhere along the lines of what you got. The program arguments are the arguments passed to the program, in this case, Minecraft, you want --username and --password to be program arguments so they get passed to MC and used to login to your account.

Don't make mods if you don't know Java.

Check out my website: http://shadowfacts.net

Developer of many mods

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.