(OpenJDK) run the following:sudo yum install Java
Note: If running CentOS, ensure you follow the guide below. start/stop sudo service Jenkins start/stop/restart sudo chkconfig Jenkins onNote: If you get the following error message, ensure this Java has been installed:Starting Jenkins (via Systemctl): Job for Jenkins.service failed. See ' systemctl status Jenkins.service ' and ' journalctl-xn ' for details.
System Environment: Ubuntu14.04Tomcat installation version: Apache Tomcat 9.0.1: http://tomcat.apache.org/download-90.cgiInstallation package: apache-tomcat-9.0.1.tar.gzUnzip the Tomcat 9.0.1 and move the extracted files to the/OPT directory>>> Start configuring TomcatEnter the/opt/apache-tomcat-9.0.1 directoryOpen the startup script file sudo gedit./bin/startup.shAfter you open the startup.sh file, add the JDK and JRE======================Java8_home=/usr/lib/jvm/
First step: Check if the Linux-brought JDK is installed (uninstall CentOS installed 1.4)The installed CentOS will bring openjdk, with the command java-version, will have the following information:Java Version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-bit Server VM (build 1.6.0-b09, Mixed mode)It is best to uninstall the
Cloudera Manager 5.3.2 and CDH5.3.2 environment Configuration
System Environment
9 DELL R720xd servers (192.168.3.245-253) and 1 r0000master node (192.168.3.243)NIC: 1000 MEach of the nine DELL R720xd servers has 12x4 TB disks.Network Environment IntranetCentOS6.6 x64 (Final)
1. Prepare for uninstallation system comes with OPEN-JDK (all nodes)The installed Centos system sometimes automatically installs OpenJdk. Run the java-version command to view the
and Features. Ubuntu is really helpless!
Oracle retires licence for distributing its Java with Linux
With a brief news item, Oracle has retired the "Operating System Distributor License for Java" (DLJ) that was created by Sun in 2006. the non-free licence had allowed Linux distributors to package and distribute Sun's, and later Oracle's, Java versions in their Linux distributions. sun made this licence available after releasing Java as open source at the JavaOne conference in 2006. it was desig
Install JAVA on CentOS7
Step 1: Check whether the built-in JDK of Linux is installed
The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:
Java version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
It is best to uninstall
Install JAVA in CentOS 7
Step 1: Check whether the built-in JDK of Linux is installed
The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:
Java version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
It is best to uninstall
How to Use yum to install and uninstall jdk and use yum to uninstall jdk
The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:
Java version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)
It is best to uninstall
2011-10-21 13:59:38Tags: CentOS casual workplaceFirst step: Check if the Linux-brought JDK is installed (uninstall CentOS installed 1.4)The installed CentOS will bring openjdk, with the command java-version, will have the following information:Java Version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-bit Server VM (build 1.6.0-b09, Mixed mode)It
First step: Check if the Linux-brought JDK is installed (uninstall CentOS installed 1.4)The installed CentOS will bring openjdk, with the command java-version, will have the following information:Java Version "1.6.0"OpenJDK Runtime Environment (build 1.6.0-b09)OpenJDK 64-bit Server VM (build 1.6.0-b09, Mixed mode)It is best to uninstall the
(eg. C:\Java\jdk1.6.0_21) has a src.zip directory after the installation is complete. This directory can be extracted to another directory (eg. D:\amigo\study\ Technical essay \201405). Src.zip does not contain all JDK source code, such as the child package under Sun is not present in src.zip (eg. the sun.security package and its child packages used in this article are not included).To download these sub-packages, you need to download the source code for OP
directory (eg. D:\amigo\study\ Technical essay \201405). Src.zip does not contain all JDK source code, such as the child package under Sun is not present in src.zip (eg. the sun.security package and its child packages used in this article are not included).To download these sub-packages, you need to download the source code for OPENJDK, OPENJDK is the open version of the JDK, released in the form of a GPL
packages downloaded here are also x64.Installing Oracle JDKUninstalling OpenJDKWhen installing CentOS7 in the previous way, By default the OpenJDK1.8 is installed, and OPENJDK is actually another implementation on the Java specification, just as mono is also implemented in the Microsoft. NET specification, and the compiled files on one platform can be run directly on another platform, but I've been working on Windows a few years ago. Soft Visual Stud
terminal.
Open up a terminal and enter the following command:
type/copy/paste: java -version
If you had OpenJDK installed on your system it could look like this:
JAV A version "1.7.0_15" OpenJDK Runtime Environment (IcedTea6 1.10pre) (7B15~PRE1-0LUCID1) OpenJDK 64-bit Server VM (b Uild 19.0-b09,
JdkInspection System Original Version[Email protected] ~]# java-versionJava Version "1.6.0_24"OpenJDK Runtime Environment (IcedTea6 1.11.1) (rhel-1.45.1.11.1.el6-x86_64)OpenJDK 64-bit Server VM (build 20.0-b12, Mixed mode)To view the JDK information further:[Email protected] ~]# Rpm-qa | grep javaTzdata-java-2012c-1.el6.noarchJava-1.6.0-openjdk-1.6.0.0-1.45.1.11.
I've recently started reading the book "in-depth understanding of Java virtual Machines". The first chapter of the practice is to manually compile Openjdk7, but the book steps are based on Windows, so on the Internet to search the Linux compiled OPENJDK information:http://blog.csdn.net/kindazrael/article/details/7266314http://guoh.org/lifelog/2011/05/compile-openjdk-by-yourself/This article is all said in m
Tags: dir localhost query log logs app Easy Server install config environment variableUpload files to the server, install Lrzsz, and upload the local files to the Linux system. If it is CentOS, it can be installed with Yum install Lrzsz command, more convenient.
or: yum-y install LRZSZ command installation, more more convenient. (External network connection required)
To install the LRZSZ, we only need to enter the command at the client terminal: RZ. installing the Linux version of the JDK The
Use apt-cachesearch to find the desired package name, for example: # sudoapt-cacheserachjava6openjdk-6-jdk-OpenJDKDevelopmentKit (JDK) openjdk-6-jre-OpenJDKJavaruntime, usingHotspotJITopenjdk-6-jre-headless-OpenJDKJavaru
Use apt-cache search to find the required software package nameFor example:# Sudo apt-cache serach java6Openjdk-6-jdk-OpenJDK Development Kit (JDK)Open
/etc/sysconfig/network-scripts
Vi ifcfg-eth0
Vi ifcfg-eth1
ONBOOT must be set to yes.
Or set automatic connection on the desktop.
Service network restart
Restart service
6. Start to enter the command line
Root User
# Vi/etc/inittab
Find the following statement:
# Default runlevel. The runlevels used by RHS are:
#1-Single user mode
#2-Multiuser, without NFS (The same as 3, if you do not havenetworking)-Multi-user mode, does not support NFS
#3-Full multiuser mode-Multi-User mode
#4-unused
#5-X11-g
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.