In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Jdk (SunMicrosystems products for Java developers)
JDK is a software development kit of Java language, which is mainly used for java applications on mobile devices and embedded devices. JDK is the core of the whole java development, which includes the running environment of JAVA (JVM+Java system class library) and JAVA tools.
This article focuses on the simple installation tutorial of Jdk1.8, which is as follows:
1.1 JDK1.8 download address
JDK download: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
1.2 system environment
[root@LNB ~] # cat / etc/redhat-releaseCentOS Linux release 7.2.1511 (Core) [root@LNB ~] # uname-aLinux LNB 3.10.0-327.el7.x86_64 # 1 SMP Thu Nov 19 22:10:57 UTC 2015 x86 "64 GNU/Linux
1.2.1 deploy the java environment
# use the yum-y install lrzsz installation upload and download tool [root@LNB tools] # mkdir / application [root@LNB ~] # mkdir / server/tools-p [root@LNB ~] # cd / server/tools [root@LNB tools] # rz [root@LNB tools] # lsjdk-8u60-linux-x64.tar.gz [root@LNB tools] # tar xf jdk-8u60-linux-x64.tar.gz-C / application/ # extract to the specified directory [root@LNB tools] # ln -s / application/jdk1.8.0_60 / application/jdk # set soft connection for easy operation [root@LNB tools] # sed-i.ori'$an export JAVA_HOME=/application/jdk\ nexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH\ nexport CLASSPATH=.$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$JAVA_HOME/lib/tools.jar' / etc/profile # add the environment variable [root@LNB tools] # source / etc/ Profile # effective [root@LNB tools] # java-version # check whether the installation is successful The following has successfully installed java version "1.8.0160" Java (TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot (TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
Summary
The above is the simple Jdk1.8 installation tutorial (Linux and windows) introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.