Answer the question
In order to leave comments, you need to log in
Launching minecraft via command line?
Drastity. How to run minecraft.jar from command line?
In more detail:
I am making a launcher on node.js (I SAY IMMEDIATELY: those who like to notice that "ha, why write your own launcher if there are ready-made ones?" / "why write on node.js if there is java?" go through the forest), you need to implement the launch of the client , I suppose to implement with the help of com. strings, or rather the shelljs module.
Answer the question
In order to leave comments, you need to log in
I have an init script on the bash, directly the launch line:
java -Xmx4096M -Xms4096M -jar minecraft.jar nogui
There is an excellent article about it. But if you fall into reading it all, then I enclose the command from it (replace the path with your own). However, this is the same as Vladimir 's, except that the memory is not specified with gui
java -jar ../HelloWorld/helloworld.jar
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question