console input, like crafkbukkit
I would like to start my jar file through a .bat file on windows. But what i would like to know is how do i recieve input from the coomand line.
I tried to do it with the System.console(); but that always returned null, I tried to do it with a scanner and System.in; but that also did not work. On both occasions is was not able to type into the command line.
So if craftbukkit can do this, how can I do this?
Re: console input, like crafkbukkit
post code up, and display error messages then we can go from there. this is so we can see what you have tried etc
Re: console input, like crafkbukkit
You already have a thread for this question: http://www.java-forums.org/new-java/...mand-line.html
Please go through the url=http://www.java-forums.org/content/113-forum-rules.html]Forum Rules[/url] -- particularly the second paragraph.
db
THREAD CLOSED