Java Learning Fifth-Java development environment

Source: Internet
Author: User
Tags windows x64 java se

Java Development Environment Java SE Development environment

Java's development environment supports Windows, MacOS, Linux, so the following operating system as a classification to configure the development environment.

Windows

Java Platform, standard Edition installation guide-windows

    1. Installing and configuring the JDK
      • Download JDK
        Java SE Development Kit 8 Downloads
        Java SE Development Kit 8 selection
        Windows x64 first accepts the agreement and then downloads Jdk-8u171-windows-x64.exe
      • Installing the JDK
        Double-click Jdk-8u171-windows-x64.exe and follow the prompts to install, while you can specify the installation location default installation location Parent directory: C:\Program files\java\
      • Check the installation
        Default JDK Version check command
        java -versionjavac -version
        Find Java Locations
        which java
      • Configuring the JDK environment variable computer, right-click Select Properties, Advanced system settings, environment variables
        • Mode one: System environment variable mode create a new system environment variable java_home and set its value to <JDK installation directory >
          Add%java_home%\bin before the system environment variable PATH value;
        • Mode two: Personal environment variable mode create a new personal environment variable java_home and set its value to <JDK installation directory >
          Create a new personal environment variable PATH and set its value to%java_home%\bin;
    2. Select Editor or IDE
      • Eclipse
      • IntelliJ idea
      • Visual Studio Code
      • Vim
Linux

Java Platform, standard Edition installation Guide-linux

    1. Installing and configuring the JDK

      • Download JDK
        Java SE Development Kit 8 Downloads
        Java SE Development Kit 8 selection
        Linux x64 first accept the protocol and then download jdk-8u172-linux-x64.tar.gz
      • Installing the JDK
        Unzip the jdk-8u172-linux-x64.tar.gz to the specified installation location the default installation location parent directory:/usr/lib/jvm/
      • Configure the JDK environment variable to add the following content to the user home directory. bashrc file and execute the source ~/.BASHRC
        export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_171export  PATH=${JAVA_HOME}/bin:$PATH
    2. Select Editor or IDE

      • Eclipse
      • IntelliJ idea
      • Visual Studio Code
      • Vim
MacOS

Java Platform, standard Edition installation Guide-macos

    1. Installing and configuring the JDK
      • Download JDK
        Java SE Development Kit 8 Downloads
        Java SE Development Kit 8 selection
        Mac OS X x64 first accepts the protocol and then downloads JDK-8U171-MACOSX-X64.DMG
      • Installing the JDK
        Double-click JDK-8U171-MACOSX-X64.DMG and follow the prompts to install
        Default installation Location Parent directory:/library/java/javavirtualmachines/
      • Check the installation
        Default JDK Version check command
        java -versionjavac -version
        Default Java installation location check command
        /usr/libexec/java_home
        Temporarily specify the Java version
        /usr/libexec/java_home -v 1.8.0_171 --exec javac -version
      • Configure the JDK environment variable to add the following content to the user home directory. bash_profile file and execute the source ~/.bash_profile
        export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home"
    2. Select Editor or IDE
      • Eclipse
      • IntelliJ idea
      • Visual Studio Code
      • Vim
Java EE Development environment

Java EE Overview
Java EE Tutorials
Java EE 8 SDK Installation Guide

Java Development Tools
    1. Eclipse
    2. IntelliJ idea
    3. Visual Studio Code
    4. Vim

Java Learning Fifth-Java development environment

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.