Remember once Mac OS Installation

Source: Internet
Author: User

I have been engaged in. NET development, a recent whim, want to learn Java development (because many people around the use of Java, so also want to follow the crowd?? ), the results found that I have only a Mac Pro (Window System of the computer to send the younger brother ~), so have to find the strategy under the MAC configuration of a Java development environment!

Next, get to the point:

1, first download the latest version of the JDK (I am the download version 1.8)

2, enter the terminal command line (if you do not know, please Baidu ~)

3. At the command line, enter the/USR/LIBEXEC/JAVA_HOME-V 1.8 command to find the JDK installation directory (for example, my native installation directory is:/library/java/javavirtualmachines/jdk1.8.0_112.jdk/ Contents/home)

4. Continue to enter VIM ~/.bash_profile on the command line to open the configuration file, write the following configuration and save

Java_home=/library/java/javavirtualmachines/jdk1.8.0_112.jdk/contents/home
paht= $JAVA _home/bin: $PAHT

Export Java_home
Export PATH

5. Download tomcat and copy the extracted folder to the specified directory, open the command line input CD tomcat directory /apache-tomcat-9.0.0-2.m15/bin, enter chmod 755 *. SH to tomcat start file plus permissions, enter the SH startup.sh to start Tomcat and enter (SH shutdown.sh to stop Tomcat), browser input http://localhost:8080 Check whether you can open the test page.

6. Continue vim ~/.bash_profile and add the following directory

Export path= $PATH:Tomcat directory /apache-tomcat-9.0.0-2.m15/bin

7. Next to download Eclipse and install

This time the environment to build the journey to a complete end, thank you crossing!

Add a black technology: no jailbreak children's shoes can be downloaded through the offline download of Baidu Network online resources to the network disk, and then downloaded from the network to the local

Remember once Mac OS Installation

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.