Results 1 to 2 of 2
  1. #1
    simmi is offline Member
    Join Date
    Apr 2009
    Posts
    29
    Rep Power
    0

    Smile Command line interface in Java

    Hi,

    I want to create a command line interface in Java on Solaris. I want that when I give my application name on command prompt then it enters into a new prompt naming my application name and then I can enter my other commands on it. When give command quit on that prompt it comes out of that new prompt to the normal prompt. Something like shown below.

    >test
    test>commands are given here.
    test>quit
    >

    I could not find an appropriate sample code to enter into new prompt.
    Can anyone please tell me how to accomplish this in Java.

    Thanks in advance,
    Simmi

  2. #2
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

Similar Threads

  1. java command line arguments
    By Vipul03 in forum Advanced Java
    Replies: 10
    Last Post: 02-25-2010, 10:12 AM
  2. java command line arguments
    By Vipul03 in forum New To Java
    Replies: 1
    Last Post: 02-22-2010, 02:00 PM
  3. Java command line
    By agouzoul in forum New To Java
    Replies: 2
    Last Post: 04-02-2008, 12:12 PM
  4. Unable to execute command line command in java
    By LordSM in forum New To Java
    Replies: 1
    Last Post: 08-08-2007, 12:23 AM
  5. Java Command Line Arguments In Eclipse IDE
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-19-2007, 09:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •