Java Eclipse Taking Command Line Arguments Continously in Running Time -


first of all, read related topics , none of them answered question.
developing program in java using eclipse , need pass arguments program continously after starts.
example somehow need give command command line after starts execute:

createtable students 2 10 10

and must able give more commands such :

addrecord students jack 1456

run configurations of eclipse not solve problem since can give arguments program once using run configurations. need multiple lines?
has solution? in advance

it doesn't seem possible in eclipse according this question (which lists possible workarounds). update it's not possible allocate system.console(), true

but work system.in (thanks stephen c):

scanner scanner = new scanner(system.in); string line; while (true) {     system.out.println("type please:");     line = scanner.next();     system.out.println(line); } 

Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -