jdk--the JDK when configuring Tomcat

Source: Internet
Author: User
  1. Download a good jdk rpm file: jdk-8u45-linux-x64.rpm this version

  2. RPM-IVH jdk-8u45-linux-x64.rpm
    The path after installation is/usr/java

  3. Configuring Environment variables
    vim/etc/profile.d/java.sh

    Export JAVA_HOME=/USR/JAVA/JDK

    Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

    Export path= $JAVA _home/bin: $PATH

  4. Declaring environment variables
    Source/etc/profile

  5. See if Java is set up successfully
    Java-version

    650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/2A/wKioL1cVySrhTa-uAAAYVUsQ_I4681.png "title=" d4cx$] Q5y8to2w[_9{4di$c.png "alt=" Wkiol1cvysrhta-uaaayvusq_i4681.png "/>

    When such a typeface appears, the installation succeeds

This article is from the "burning Years of Passion" blog, please be sure to keep this source http://liuzhengwei521.blog.51cto.com/4855442/1765350

jdk--the JDK when configuring Tomcat

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.