It appears that there is no space between the end of your path (the last ^
) and your Main
class, so your Main
class is effectively part of the -cp
JVM argument. There is no class yet, so java
still sees JVM args.
Try putting a space after the last part of the -cp
value and your net.minecraft.client.main.Main
, to separate the -cp
value and your class on the command line.