Java Fundamentals Chapter I (Install configuration Java, simple DOS command)

Source: Internet
Author: User

First, install the configuration Java

Download installation

1.java Download jdk (32-bit or 64-bit depending on your computer).

2. Double-click the Jdk.exe file to install.

environment variable configuration

Right-click My Computer-Properties-Advanced system settings-environment variables-Find PATH variable-Enter the path of the bin in the Java file at the front of the path variable--and then find the CLASSPATH variable at the front of the English ".;

1.

2.

3.

4.

5. Finally click Confirm to complete the Java configuration.

6. Enter Javac at the command prompt to see if the configuration was successful.

The display is configured successfully.

Second, Java Common DOS command

1.dir no parameters to view the files and folders of the current directory.

2.CD Directory name to enter a specific directory.

3.cd\, go back to the root directory.

4.cd.., return to the previous level of the directory.

5.MD directory name to create a specific folder.

6.RD directory name, delete the specific folder.

7.cls, clear the screen.

8.del filename, delete a file.

9.del * *, delete all files under the current file.

Java Fundamentals Chapter I (Install configuration Java, simple DOS 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.