introduction
With the increasing development of the Internet, more and more small partners have joined the ranks of programmers, and many small partners are planning to learn programming, learning Java
So for novices, the first thing is to download and install the Java Development Kit, that is, JDK. Today we will talk about how to operate it in detail
JDK version description
In the learning environment, we usually use a newer version of JDK, because we have to learn some new features
In the development environment, we usually use the old version of JDK, because the old version is stable and widely used
ORACLE official website through train
Check the official website, the current JDK has been updated to 20. Different operating platforms can choose different download entrances.
If you need to download the long-term support version (old version), there is no problem.
Configure environment variables
After everyone installs the JDK, start to enter the link of configuring environment variables.
Under normal circumstances, after the above process is completed, enter java -version through cmd to view the current version.
Extras: special cases
Some people, after operating the above process, find that it still doesn't work, and the process is the same, so how can it fail?
We can add the following parameters in the user variables.
If this blog is helpful to the iron people, or can resonate with you, please don't mean yourlikeandfocus onYo, thanks! ! !
If you have any questions or different opinions, please leave a message in the comment area >_<…