Java Environment Deployment

Source: Internet
Author: User

    • Software

JDK Download: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

[[EMAIL PROTECTED] /]# MKDIR /USR/LOCAL/TOOLS[[EMAIL PROTECTED] /]# CD  /usr/local/tools/[[email protected] tools]# tar xf jdk-8u131-linux-x64.tar.gz  [[email protected] tools]# lsjdk1.8.0_131  jdk-8u131-linux-x64.tar.gz[[email  protected] tools]# mv jdk1.8.0_131/ /usr/local/[[email protected] tools]#  vim /etc/profile.d/jdk.sh[[email protected] tools]# cat /etc/profile.d/ Jdk.shexport java_home=/usr/local/jdk1.8.0_131export path= $JAVA _home/bin: $PATH: $JAVA _home/jre/ Binexport classpath= $JAVA _home/lib: $JAVA _home/jre/lib[[email protected] tools]# source  /etc/profile.d/jdk.sh [[email protected] tools]# java -versionjava version   "1.8.0_131" Java (TM)  SE Runtime Environment  (BUILD 1.8.0_131-B11) java  HotSpot (TM)  64-bit server vm  (Build 25.131-b11, mixed mode) 


This article is from the "Ten Miles Breeze" blog, please be sure to keep this source http://visitor.blog.51cto.com/11247238/1956799

Java Environment Deployment

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.