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
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
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:/
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
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:
$ sudo apt-get install
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
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. Solr4.3.0 was installed in Ubuntu12.04 + OpenJDK1.7, which is somewhat different from the existing articles on the Internet. Ubuntu12.04 installation-after basic installation, only install Openjdklinuxidc @ ubsolr :~ $ Sud
This is an installation record. I have browsed many articles on solr installation and configu
Check whether JDK is installed in Linux.The installed CentOS comes with OpenJdk and uses the java-version command. The following information is displayed:Java version "1.6.0 Prime;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 fir
Ubuntu delete openjdk install SunJDK1. download the installation package to the official website: jdk-7-linux-i586.tar.gz2. create the installation directory: sudomkdir/usr/lib/jvm3. decompress: tarzxvf. /jdk-7-linux-i586.tar.gz-C/usr/lib/jvm4. set the environment variable :... ubuntu delete openjdk install Sun JDK 1. download the installation package to the official website: jdk-7-linux-i586.tar.gz2. creat
Compile and install openjdk in CentOS5.5
1. Uninstall the original jdk OF THE SYSTEM
Rpm-qa | grep java
Yum-y remove XXXX -- XXXX is the jdk information found by the first command.
II. The following dependency packages can be installed through yum
Yum-y install alsa-lib-develYum-y install cups-develYum-y install libXi-develYum-y install gcc-c ++Yum-y install libX *
3. Install freetype-2.3.12Wgethttp: // response
Tar-xvf freetype-2.3.12.tar.gz
Cd freet
-c-m 644./builds/unix/ft2unix. h \/Usr/local/include/ft2build. h/Usr/bin/install-c-m 644./builds/unix/ftconfig. h \/Usr/local/include/freetype2/freetype/config/ftconfig. h
Run the following command:
Mkdir-p/usr/local/include/freetype2/freetype/internal
Reinstall
./Configure make install
4. install ant
The version used this time is: apache-ant-1.9.4-bin.zip
Unzip apache-ant-1.9.4-bin.zip
Ln-s decompressed ant directory/bin/ant/usr/bin/ant
5. install JDK and configure environment variables
The
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.