java. bat batch processing (java cmd command)

Source: Internet
Author: User

Reference: http://www.iitshare.com/under-the-cmd-compile-the-java.html

Reference: Http://zhidao.baidu.com/link?url=YQ30FITF453NIAXXIDp37M25FVkGah8gZZINTuDelGJa_ Vd-jnac6y9n9uzxomdt8z-pny4rsicxbt9xlb879pgfahihkrlcybc2iiqe7aa

Java cmd command

First determine, class_path correct, command Javac,java normal

c:\users\dell>Javac F:\java\QuestionRouting-1m\src\dataprocess\newDBshower.java

c:\users\dell>JAVA-CP F:\java\QuestionRouting-1m\src dataprocess.newdbshower

When an external jar package needs to be introduced.

c:\users\dell>JAVA-CP F:\java\QuestionRouting-1m\lib\mysql-connector-java-5.1.3
8-bin.jar; F:\JAVA\QUESTIONROUTING-1M\SRC Dataprocess.newdbshower

1. External package Write full path

2. Middle with a semicolon ";".

java. bat batch processing (java cmd command)

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.