Essence Android Chinese Classroom Lesson 2

The original poster: Hakurei Reimu Views: 2885 Replies: 2 Posted in: 2012-03-04 23:05:42
How to set environment variables

Here is a tutorial using Windows 7
1. First download the JDK installation package http://www. java. com/zh_CN/download/windows_ie. jsp?locale=zh_CN
or this http://www. java. com/zh_CN
After the download is completed, double-click to install, just keep the default, continue to the next step, and finally click Finish.
2. Next, configure the environment. This is the key step to configure JDK.
First go to the desktop, right-click on my computer, select Properties

Then go to the next interface, select Advanced System Settings (as shown below)

3. After clicking, you will come to this interface, select Advanced, there is an environment variable in Advanced, select Environment Variables



\4 . In the [System Variables] list at the bottom, click the [New] button. In the pop-up dialog box, fill in "JAVA_HOME" for the variable name, and fill in the installation path of jdk in the variable value. If it was the default path when you just installed JDK, fill in C:
Program Files
Java
jdk1.6.0_24
, if you did not install it according to the default path, then just find the path of Java
jdk1.6.0_24 (this tutorial uses "C:
Program Files
Java
jdk1.6.0_24
" as an example), fill it out and click OK.

5. Find the environment variable with the variable name "Path", then click the [Edit] button, add ".;%JAVA_HOME%
bin;" at the front of the variable value. Remember not to forget the first dot and semicolon. After filling in, click OK

6. Click the [New] button, fill in "CLASSPATH" in the variable name, and fill in "CLASSPATH" in the variable value. .;%JAVA_HOME%
lib", fill it out and click OK;










































lib









" Click Start, select Run

8, enter "CMD" in the run input box

9, and then enter the command line state (that is, DOS state), then enter java, and click Enter after entering;

If the following interface appears after pressing Enter, it means that you have successfully installed jdk, but this does not mean that the Java environment is configured.

10. To verify whether the java environment is configured, you need to do the following. Enter javac

If the following screen appears, it means that your java environment is configured successfully. If it is not the following screen, it means that the configuration is not successful. Go back to the above to see where the information is not filled in correctly.
reply 🤍 0 📤 share collect
Awesome, I'll study tomorrow!
No matter how you look at it, it was done on a computer!
— All replies loaded —

Leave a Reply