Mac installation and configuration eclipse

Table of contents

1. Install Java: Mac environment configuration (Java)----use bash_profile for configuration (download address attached)

2. Download and install eclipse

1. Enter the official website of eclipse

(1), click “Download Packages”​

(2) Find the macOS framework option that suits your computer and click to download.

​①. You can check the processor architecture type of your Mac computer by following these steps: Open "Terminal". Enter the command "uname -m" in the terminal and press Enter. If the output is "x86_64", it means that your system is x86-64 architecture. If the output is "aarch64", it means that your system is arm64 architecture.​

②. We choose domestic mirrors, which have faster download speeds than foreign ones.

 (3) If you want to download the old version, do the following:

①. Click "Older Versions" under "MORE DOWNLOADS". The 2020-06 version is the last version adapted to Java8.

②. For example, here we download 2020-06. We find "Eclipse IDE for Enterprise Java Developers" and click macOS x86_64 to download. Do not click on the above. The above is the latest version.

3. Double-click the "eclipse-inst-mac64.dmg" file downloaded in the previous step and double-click the icon.

4. A variety of download and installation packages are listed here, choose according to your needs. We choose the second one here, "Eclipse IDE for Enterprise Java and Web Developers" to implement Java Web development

(1). Because it is the latest version, it needs to be adapted to Java17 or above. Select the installation path. Here, install directly by default path.

(2) Wait for the download to end

3. After the download is completed, configure the workspace

(1), we first click "open in system explorer" to open the file where eclipse is located, and drag the eclipse icon to "Applications" for ease of use​

(2) Double-click to open eclipse, select your working location, "Use this as the default and do not ask again" whether to use this working location all the time, determine whether to check it according to your personal work needs, and then click "Lauch"

(3) Wait for the progress bar to end and display the eclipse interface. At this time, the eclipse installation is completed. 

4. Eclipse configures JDK

eclipse configuration under Mac

5. Configure Tomcat environment

Mac installation, configuration, and use of Tomcat (detailed explanation)



1. Install Java:Mac environment configuration (Java)----use bash_profile for configuration (download address attached)

2. Download and install eclipse

1. Enter the official website of eclipse

eclipse官网icon-default.png?t=N7T8https://www.eclipse.org/downloads/

(1). Click "Download Packages"
(2) Find the macOS framework option that suits your computer and click to download.
①. You can check the processor architecture type of your Mac computer through the following steps:
Open "Terminal".
Enter the command "uname -m" in the terminal and press Enter.
If the output result is "x86_64", it means that your system is x86-64 architecture. If the output is "aarch64", it means that your system is arm64 architecture.

 ②. We choose domestic mirrors, which are faster to download than foreign ones
 (3) If you want to download the old version, do the following:
①. Click "Older Versions" under "MORE DOWNLOADS". The 2020-06 version is the last version adapted to Java8.
②. For example, here we download 2020-06. We find "Eclipse IDE for Enterprise Java Developers" and click macOS x86_64 to download. Do not click on the above. The above is the latest version.

3. Double-click the "eclipse-inst-mac64.dmg" file downloaded in the previous step and double-click the icon.

4. A variety of download and installation packages are listed here, choose according to your needs. We choose the second one here, "Eclipse IDE for Enterprise Java and Web Developers" to implement Java Web development

(1). Because it is the latest version, it needs to be adapted to Java17 or above. Select the installation path. Here, install directly by default path.

”:

(2) Wait for the download to end 

3. After the download is completed, configure the workspace

(1), we first click "open in system explorer" to open the file where eclipse is located, and drag the eclipse icon to "Applications" for easy use.

(2) Double-click to open eclipse, select your working location, "Use this as the default and do not ask again" whether to use this working location all the time, determine whether to check it according to your personal work needs, and then click "Lauch"
(3) Wait for the progress bar to end and display the eclipse interface. At this time, the eclipse installation is completed. 

① To create a file, select the small box in the upper left corner or "Create a new Java Web Project" 

4. Eclipse configures JDK

Mac下eclipse配置JDKicon-default.png?t=N7T8https://blog.csdn.net/W_Fe5/article/details/134346029?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22134346029%22%2C%22source%22%3A%22W_Fe5%22%7D

5. Configure Tomcat environment

Mac installation and configuration of Tomcat, and usage (detailed explanation)icon-default.png?t=N7T8https://blog.csdn.net/W_Fe5/article/details/134346467?csdn_share_tail=%7B%22type%22 %3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A%22134346467%22%2C%22source%22%3A%22W_Fe5%22%7D
 

Guess you like

Origin blog.csdn.net/W_Fe5/article/details/134342647