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
CentOS 6.X and 7.X comes with OPENJDK runtime Environment (OPENJDK). It is a Java platform that implements open source on Linux.Installation method:1. Enter the following command to see a list of available JDK packages;Yum Search Java | Grep-i--color JDK2. Installing the JAVA SDK on CentOS LinuxAt the command-line terminal, enter the following command with the root user yum installs Opensdk:Yum Install java
OpenJDK is sun at the end of 2006 to open up Java project, where the "open source" is the usual sense of open source, that is, the source code can be reused, such as IcedTea, ultraviolet are derived from the openjdk source of the distribution version.Oracle JDK uses a commercial implementation, while OPENJDK uses open source FreeType. Of course, "Same" is built o
After centos is installed, it comes with openjdk and uses commands.Java-version, 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 openjdk first and install the JDK of sun.
View
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-java6-jdk sun-java6-plugin
Then, unzip and instal
Set OpenJDK environment variables in CentOSWhen I installed phpstorm today, I was prompted that I could not find JAVA_HOME, So I remembered that I had not installed JDK! Try openJDK on linux!Centos comes with OpenJDK's Runtime (JRE). In "Add/Delete", we can find JDK (OpenJDKDevelopmentEnvironment) and install it.After the installation, there are no system variables such as java_home, and you need to add the
file is created, and then the. Temp is removed when the download is finished. So let's change the text to the following:The reason to comment out the two-line delete is to avoid deleting the package we put in when compiling.After the script is modified, download the corresponding package and put it in the corresponding directory. Addresses for Jaxp145_01.zip are:OPENJDK root directory/build/macosx-universal/jaxp/drop/bundlesFinally recompile, this section will pass smoothly. The other two packa
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/openjdk-8-src-b132-03_mar_2014.zip
Replace the blacklist
Https:/
First of all, in the high fedora, there is no java-openjdk-1.6 package that needs to be downloaded online, such as CentOS java-openjdk-1.6 package in 7: java-1.6.0-openjdk-1.6.0.36-1.13.8.1.el7_1.x86_64.rpm, measured can be installed in Fedora 20.
The following is reproduced, the main note installation prompts "Java-1.7.0-ope
In linux, uninstall openjdk, install sunjdk, and configure environment variables. Generally, openjdk is installed in linux. However, in development, you must use sunjdk. In this case, you can only uninstall openjdk and install sunjdk. 1. query the existing installation version rpm-qa | grep jdk 2, uninstall openjdk sud
Because openjdk is not available for Hadoop development, it must be replaced with sun's jdk. Therefore, install sunjdk first: Add repositoryadd-apt-repository "debhttp: // archive.canonical.com/lucidpartner "Pay attention to the version and install sun-jdkapt-getupdateapt-getinstallsun-
Because openjdk is not available for Hadoop development, you must replace it with sun's jdk. Therefore, install sunjdk fir
Install the official JDK under Fedora 20 to replace OpenJDK and configure environment variables.
Fedora 20 comes with OpenJDK, So if you install the official JDK, you must first Delete OpenJDK as follows:
1: run the rpm-qa | grep jdk command to check the current jdk status.
2: yum-y remove java java-1.7.0-openjdk *
1. View your own JDK version java-version2. View Rpm-qa | grep javaThe following information is displayed:java-1.4.2-gcj-compat-1.4.2.0-40jpp.115Java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5Unloading:RPM-E--nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115RPM-E--nodeps Java-1.6.0-openjdk-1.6.0.0-1.7.b09.el5There are some other commands.Rpm-qa | grep GCJRpm-qa | grep JDKIf OpenJDK
Anyone who has used Linux should know that in most Linux releases, JDK is installed either with built-in or through software sources. What is openjdk, what is the relationship and difference between it and Sun JDK?Historically, openjdk is an open source code version of JDK, which is released in the form of the GPL protocol. At jdk7, openjdk has become the backbon
In this article, we'll explain how to get started with the Hotspot Java Virtual Machine and its implementation in the OPENJDK open source project--we'll start with two aspects, namely, the interaction of virtual machines and virtual machines with Java class libraries.
Hotspot Source Introduction
Let's first look at the JDK source code and the implementation of the relevant Java concepts it contains. There are two main ways to check the source code:
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
Tags: ... remove encounters TPS Java Data command Technology PACDo not know why this twists and turns, a problem after one, if you also encounter problems, you can refer to the referenceQuestion 1:......has No installation andidate, resolved as follows (not understood):Reference Https://askubuntu.com/questions/763494/trying-to-install-openjdk-package-openjdk-7-jre-has-no-installation-candidateQuestion 2: Th
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.