For every friend who is doing Java development, Jdk must be installed. Jdk is installed. In fact, it is not finished. You need to configure Jdk environment variables. The system is constantly updated. Introduce how to configure Jdk under Win10 and detect whether the configuration is successful.
1, first open the page of the system environment variable configuration. The specific operation is: open the start menu, find “ this computer & rdquo;, then right click "More" & rdquo; → & ldquo; attributes & rdquo;.
2. On the pop-up page, select “Advanced System Settings”.
3. On the pop-up page, select “Environment Variables (N)…”.
4. In the pop-up page, in the system variable area, select “New”.
5. On the new page, enter the variable name “JAVA_HOME”;variable value“the path of your jdk (please refer to the figure below, find your installation path)”, then click &ldquo ;OK”.
6. In the system variable area, select “New”, enter the variable name < CLASSPATH"; variable value: <;;;%JAVA_HOME%\\lib\\dt.jar;%JAVA_HOME %\\lib\\tools.jar;”. Note that in the variable value, the preceding “point<quo; and ”semicolon”, can directly copy the value of this variable. Then click “OK”.
7, through the roller, find the "Path" variable in the system variable area, and double-click to open. Click New to add the following two lines of code (two lines of code in the red selection box).
8. Use the Windows icon +R to quickly open the “Run” operation interface and enter cmd and press Enter to confirm.
9. Enter java –version at the command line; if the version information of java can be displayed, the configuration is successful.
Related recommendation:
How to manually add wireless configuration file to Win10 system?
How to configure high couple magnets for Win10 Mobile/pc?
How to check the detailed configuration information of the computer after the official version of win10 is installed?
We are used to getting the news of the unreleased Windows 10 build from third-party sources, but tod
computer recording methods, but most of the methods need to download a software, and many software i
Tencent QQ has become an indispensable software in everyones life, QQ has a voice function, can talk
Win8 system has been used for some time, like the previous Windows system, we always like to make al
Win7 system set router to limit access to the Internet
How to solve the Windows 7 system Aero effects can not open
How does the Groove music stream in win10 play the music collection in OneDrive?
How to find the program you want in the Win8 app store
Win7 deletes the unwanted disk partition tutorial
What should I do if Win10 right clicks on the desktop icon and it disappears for 5 seconds?
Win10 th2 push update? Win10 Th2 update content and new features summary
Win10 first anniversary update global bright color theme concept design released: similar to Win95
Dell says Windows 7 release drags its third-quarter revenue
Detailed Linux shutdown command
Why is there a pause in the system from time to time?
Win2003 Tip: Let the network load balancing strategy
Ten ways to avoid poisoning after reinstalling the system (1)
Many functions in the Win7 Mobile Center Quick Setup Computer
How to solve the contents of the Win7 system start menu?
How to turn off the automatic maintenance function of Win10 system