Home > System Tutorial > MAC > body text

mac modify jdk version (mac jdk default installation path)

WBOY
Release: 2024-02-20 13:03:06
forward
974 people have browsed it

mac修改jdk版本(mac jdk默认安装路径)

php editor Banana brings you the operation guide for modifying the JDK version under Mac system. On Mac, the JDK default installation path may cause version conflicts or incompatibility between different applications. Therefore, it is very important to know how to modify the JDK version. Next, we will introduce in detail how to modify the JDK version in Mac system so that you can better manage and use the Java development environment.

How to download the latest version of java jdk13.0.1 on Mac and configure environment variables in the terminal?

1. In the English input method, press the keyboard "Ctrl Space" key combination to bring up Spotlight Search, here you can quickly start the terminal, enter ter, and then press Enter to open the terminal.

In Windows systems, you can open the Control Panel and type "environment variables" in the search box to access the corresponding settings. For Mac users, you can click the "Advanced" tab in System Preferences and then click the "Environment Variables" button. This makes it easy to configure and manage environment variables.

The third step is to open the Oracle official website http://, scroll to the menu at the bottom of the page and follow the instructions. Click the JDKDOWNLOAD button and select AcceptLisenceAgreement to agree to the agreement.

When setting environment variables, you must first find and copy the Java installation directory. Next, click the "This PC" icon, select "Properties", and then click "Advanced system settings" on the left. These steps will help you configure your environment variables correctly.

Illustration of jdk installation and environment variable configuration under mac system

Go to the Oracle official website and find the JDK DOWNLOAD button in the menu at the bottom of the homepage. After clicking this button, you need to agree to the agreement and select Accept License Agreement.

Visit the Oracle website: Go to the Oracle official website (https://) to download the JDK (Java Development Kit) for Mac.

Please visit the Oracle official website at http:// and find the indicated button in the menu at the bottom of the homepage. Click the JDK DOWNLOAD button and select Accept License Agreement to agree to the agreement.

How to configure jdk environment variables? You can install JDK on other disks. The operation method is as follows: First, right-click [This PC] on the win10 desktop and select [Properties (R)] in the pop-up menu, as shown in the figure below.

The above is the detailed content of mac modify jdk version (mac jdk default installation path). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:shouxicto.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!