I'm looking for a batch command which allows you to change name on an "online-mode=false" Minecraft server.
I have tried these commands and lots of others:
java -Xms512m -Xmx1024m -cp "%APPDATA%\.minecraft\bin\*" -Djava.library.path="%APPDATA%\.minecraft\bin\natives" net.minecraft.client.Minecraft '"'%1'"'
@SET /P IGN=IGN=
@java -Xms512m -Xmx512m -cp "%APPDATA%/.minecraft/bin/*" -Djava.library.path="%APPDATA%/.minecraft/bin/natives" net.minecraft.client.Minecraft %IGN%
I'm running Mincraft via this command for now:
javaw -Xmx2048m -Xms2048m -jar "C:\Users\Seras\AppData\Roaming\.minecraft\bin\minecraft.exe"
I have Windows 7 x64 with Java 7 (build 1.7.0_02-b13, should be a 64-bit version).
Edit: I'm running the latest minecraft unmodded. Btw found this "Client version 1.2.2 does not accept the command line arguments that previous versions accepted." so if anyone can get a command that works on a Client version 1.2.2 or later please post your command line here.
Anyway when running these commands i get Error: Could not find or load main class net.minecraft.client.Minecraft Anyone knows why?
– Seras Mar 24 '12 at 14:36