Download Page address:
Https://download.java.net/openjdk/jdk7
Or
Https://download.java.net/openjdk/jdk8
The following uses the jdk8 page as an example:
The copied address is as follows:
Http://www.java.net/download/Openjdk/jdk8/promoted/b132/
How to uninstall the OpenJDK that comes with CentOS7 ?, Centos7 comes with openjdkHow do I uninstall the OpenJDK that comes with CentOS7?
[Root @ hadoop-master tools] # rpm-qa | grep javajava-1.8.0-openjdk-headless-1.8.0.101-3.b13.el7_2.x86_64javapackages-tools-3.4.1-11.el7.noarchtzdata-java-2016f-1.el7.noarchjava-1.8.0-open
I've been learning more about the second edition of Java Virtual machine. The first part of the book suggests that you compile openjdk yourself. Hold the learning attitude also to compile a play. Let's get down to the chase.1. Introduction to the compilation environment
Operating system
CentOS Linux release 7.1.1503 (Core)
Linux kernel version
3.10.0-229.el7.x86_64
GCC version
4.8.2 20140120
-fonts-type1 Noarch 7.2-9.1.EL6 Base 520 k Transaction Summary ============================================================= ===================================== Install Package (s) total download size:29 m installed size:100 m are this OK [y/n]: Y downloading Packages: (1/21): alsa-lib-1.0.22-3.el6.x86_64.rpm | 370 KB 00:00 (2/21): flac-1.2.1-6.1.el6.x86_64.rpm | 243 KB 00:00 (3/21): giflib-4.1.6-3.1.el6.x86_64.rpm | Panax Notoginseng KB 00:00 (4/2
Compile OpenJDK source code under CentOS7
Compile the openjdk source code on Centos7.Procedure:
Obtain openjdk source code
Install openjdk6-BoostrapJK
Dependencies during compilation Installation
Configure Environment Variables
Compile
1. Obtain the openjdk source code.
You can
JDK built on Windows is a singular mixture of windows and Unix utilities.
Get the source
About every one months, Sun publishes a complete set of JDK source code on the OpenJDK source page. Several different packages are listed below:
OpenJDK Source JDK 7 is about 95% of the main source code. Platform binaries Sun doesn't actually have all the code in the JDK, and they can't re-register code they don't o
1.JDK 8 Example(1.1) Debian, Ubuntu, etc. use the following installation commands:sudo Install openjdk-8-jreThe PS:OPENJDK-8-JRE contains only the JRE, and if you need to develop a Java program, you need to download OPENJDK-8-JDK(1.2) Fedora, Oracle Linux, Red Hat Enterprise Linux, etc. use the following commands:su " Yum Install java-1.8.0-
. Start as complete as SUNJDK. Also note that OpenJDK only contains the most streamlined JDK, and if the OpenJDK of the Icetea patch is used, OpenJDK command "java-version" displays not OpenJDK, but Java.Two installation Environment Preparation This article is selected in the VirtualBox, using the Ubuntu 14.04 32-bit v
look at the current system Java version by command:Java version "1.6.0_24" OpenJDK Runtime Environment (IcedTea6 1.11.9) (rhel-1.57.1.11.9.el6_4-i386) OpenJDK Server VM ( Build 20.0-b12, Mixed mode)As you can see, the current system is using the 1.6 version of OPENJDK, and below we begin to install the 1.7 version of the JDK.First of all, of course, the Oracle o
This is an installation record. I have browsed many articles on solr installation and configuration before and when I encountered problems. Thanks to all the authors for sharing them. It was found that Solr 4.3.0 was installed on Ubuntu 12.04 + OpenJDK 1.7, which is somewhat different from the existing articles on the Internet.
Install Ubuntu 12.04-after basic installation, only install openssh
Install OpenjdkBkjia @ ubsolr :~ $ Sudo apt-get-y install
now showing the status of not installed. At this point, openjdk all uninstall completeTwo installing the Sun JDK(1) Download the RPM package for the JDK and install it:[[emailprotected]src]#lsapache-tomcat-h5.zipnginx-1.4.7.tar.gz Pcre-8.36.tar.gzjdk-7u71-linux-x64.rpmnginx_upstream_ Hash-0.3.1.tar.gzkeepalived-1.2.2.tar.gzngx_cache_purge-2.0.tar.gz[[emailprotected]src ]#rpm-ivhjdk-7u71-linux-x64.rpmprepa
1. Uninstall the previous JDK and mark all options that contain openjdk in the new version to completely delete it. Or execute sudo apt-Get autoremove openjdk-6-jre 2, download JDK Software
Follow these steps to install Sun JDK:
Slave/
Or add a repository next week:
Sudo add-Apt-repository PPA: ferramrobert to/JavaSudo apt-Get updateSudo apt-Get install sun-java
" directly in the terminal and the system will display the current JDK version number "Java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5". You can see that the JDK is using the openjdk1.6 version.If at this time, directly in the CentOS "application-Add/Remove Software-basic system--java", the removal of Java, and related to the OpenOffice and other software, will be automatically deleted, so before the original JDK delete, It is a good idea to install the new JD
addition, software packages that can be separated are separated as much as possible, but most of them are free software. You can download and add them by yourself.Java trademarks cannot be used:This is easy to understand. On the machine where openjdk is installed, input "Java-version" to show openjdk. However, if openjdk
OpenJDK Java 8 has been made to official Ubuntu repositories for 14.10 Utopic and higher. For Ubuntu 14.04, Ubuntu 12.04, and Linux Mint all users here's how to install it from PPA (Personal pakage Archives) Personal Package Archive It is a service provided by Ubuntu Launchpad website that allows individual users to upload software source code, compile it via Launchpad and publish it as a 2 software package, as a new source of apt/for other users to
Tags: lis attr unp exec compress firewall RDA usr resThe first is foreplay, recommend a remote tool Xshell and XFTP use, the following is Xshell's official websiteHttp://www.netsarang.com/products/xsh_overview.html
1.openjdk
How to download and install prebuilt OpenJDK packages
JDK 8
Debian, Ubuntu, etc.
On the command line, type:
$
This is a creation in
Article, where the information may have evolved or changed.
1.
When running Java application, the prompt cannot find Java_home, query java-version
[Jifeng@localhost bin]$ java-version
java Version "1.7.0_55"OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64 u55-b13)OpenJDK 64-bit Server VM (build 24.51-b03, Mixed mode)
Centos 6.5 comes with a
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.