Mac OS fast switching JDK version
•
Java
Recommended management method:
be careful!
You can view the current version through Java - version on the command line. Each time you switch the JDK version, you need to use the above command line to open the file in the root directory bash_ Profile, modify the last sentence export Java_ HOME=$JAVA_ 7_ The number in home is enough!
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码