How to use the command line in Eclipse

Source: Internet
Author: User

Although we already have a high-level IDE like Eclipse, we sometimes need to use Windows command line at development time to run some separate programs. Switching between the two programs is a hassle. So eclipse provides a tool that lets us use the Windows command line in Eclipse.

First step: Set up a new external configuration tool
In Eclipse, select "Run-External tools, External tools Configurations"



Step two: Click on "New Launch Configuration"


Step three: New Configuration interface


Fourth Step: Provide detailed information on the command line configuration
Name: It's your configuration, just pick it up.
File location for Location:CMD.exe
Working Directory: The default working path after the command line is opened


Fifth step: Select the Allocate Console check box
This option is to use the Eclipse Workbench as the command line for input and output.


Sixth step: click "Run"
You will open a C: command line for the work path


Seventh step; A few simple example commands


It's so easy!

http://www.oschina.net/question/28_46291

How to use the command line in Eclipse

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.