Results 1 to 2 of 2

Thread: Cmd Prompt

  1. #1
    AndrewM16921 is offline Senior Member
    Join Date
    Jan 2009
    CA, USA
    Rep Power

    Default Cmd Prompt

    How can I use java to read/write from a normal windows cmd prompt when run from a jar the same way I would a in a console in eclipse?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: Cmd Prompt

    You have to run your .jar file with the java.exe command instead of the javaw.exe command. The first version creates a console for your process.

    kind regards,

    The only person who got everything done by Friday was Robinson Crusoe.

Similar Threads

  1. Prompt algorithm
    By eIO in forum New To Java
    Replies: 10
    Last Post: 07-14-2011, 11:34 PM
  2. RE: JOptionPane Prompt
    By bleh in forum New To Java
    Replies: 3
    Last Post: 02-13-2011, 03:54 PM
  3. Replies: 4
    Last Post: 03-25-2010, 05:47 PM
  4. help me!!!! about command prompt..
    By kureikougaiji in forum New To Java
    Replies: 2
    Last Post: 11-13-2008, 07:15 PM
  5. input prompt
    By angelbaby21 in forum New To Java
    Replies: 8
    Last Post: 08-25-2008, 04:22 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