Results 1 to 3 of 3
Thread: console input, like crafkbukkit
- 12-12-2012, 11:42 PM #1
Member
- Join Date
- Jul 2011
- Posts
- 32
- Rep Power
- 0
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?
- 12-13-2012, 03:04 AM #2
Senior Member
- Join Date
- Nov 2012
- Posts
- 221
- Rep Power
- 1
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
- 12-13-2012, 04:12 AM #3
Re: console input, like crafkbukkit
You already have a thread for this question: Recieving input from command line
Please go through the url=http://www.java-forums.org/content/113-forum-rules.html]Forum Rules[/url] -- particularly the second paragraph.
db
THREAD CLOSEDWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
How to get input from Console
By karma in forum New To JavaReplies: 8Last Post: 08-13-2010, 09:32 PM -
who to take user input ,not by console...
By Shyam Singh in forum New To JavaReplies: 3Last Post: 06-13-2008, 10:09 PM -
how to take input from console in jsp
By veena in forum New To JavaReplies: 1Last Post: 05-06-2008, 04:39 AM -
ways to get input from console
By soni in forum New To JavaReplies: 2Last Post: 05-05-2008, 09:44 PM -
How to read input from console
By Java Tip in forum java.ioReplies: 0Last Post: 04-16-2008, 10:57 PM


LinkBack URL
About LinkBacks

Bookmarks