Fedora 20 comes with openjdk, so if you install the official JDK, remove OPENJDK first, as follows:1:rpm-qa|grep jdk to view the current JDK situation.2:yum-y Remove Java java-1.7.0-openjdk* Uninstall OPENJDK, a process in which some additional software may be uninstalled for reasons of dependency.3: Go to Oracle websi
1. View Fedora's existing Java environment version
OPENJDK version "1.8.0_25" OPENJDK Runtime Environment (build 1.8.0_25-b18) openjdk 64-bit Server VM (build 25.25-b02, mixed Mode
2. Download Sun's latest jdk RPM versionA.: http://www.oracle.com/technetwork/java/javase/downloads/index.htmlThe latest version I downloaded here is jdk-8u25-linux-x64.r
First, download the source code, is through mercurial download the specific download command can see http://openjdk.java.net/projects/jdk7u/hereDownload by HG cloneI downloaded the version is openjdk-7u75-src-b13, this version may not be a stable version but as long as it can be compiled, the test can be used without error, of course, there are some code modifications, and business-relatedAnd then the environmental preparation.FreeType more than versi
Original address: Https://marcin-chwedczuk.github.io/debugging-openjdk8-with-netbeans-on-ubuntuThe overview is as follows:1 is of course download openjdk. I chose jdk8u, which is the mainstream version of the current major companies, in addition Jdk9 and JDK10 directory structure compared with the traditional directory structure has changed, from the existing data to find the relevant code will increase the difficulty. Two ways to download:1) HG clone
Tags: style blog color java div log SP workThe usual working machine is openSUSE 13.1. After replacing it with Oracle JDK, the INTELLJ interface became invisible, did not want to debug and then uninstalled the Oracle JDK and reinstalled the OPENJDK.[Uninstallation of Oracle JDK]1. Query Package NameRpm-qa | grep JavaThe name of the query to the Oracle JDK RPM installation package is Java-xxx-fcs.2. UninstallRpm-e Java-xxx-fcs3. Delete Related environm
OK, here are the solution I found after searching lots of things:http://www.oschina.net/question/12_21632https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-on-ubuntu-12-04My system is a Ubuntu 10.04 LTS (Lucid), the OPENJDK version is 1.6, and a Tomcat 6.If you want to the install TOMCAT6, make sure you have Java installed first. Could check your Java installation by typingJava-versionIn your command line. If you see a error
Export Java_home=/opt/java/jdk1.8.0_172export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _ Home/lib/tools.jarexport path= $PATH: $JAVA _home/bin Delete OpenJDKThe installed CentOS will bring openjdk, with the command java-version, will have the following information:" 1.6.0 " 1.6. 0-1.6. 0-b09, mixed mode)It is best to uninstall the OPENJDK before installing Sun's JDK.View Firs
Author: fbysssQQ: Wine bar Bar I scatteredBlog:blog.csdn.net/fbysssDisclaimer: This article by fbysss original, reproduced please indicate the source
Preface: Under CentOS, Java is already installed, version 1.7, but there are no environment variables such as Java_home. So:
Export java_home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9
Export classpath=.: $JAVA _home/jre/lib/rt.jar: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export path= $PATH: $JA
CENTOS6.4 installation configuration OPENJDK-7
Test Machine installation and configurationInstall centos6.4 mini
1000 words are omitted here ......
Disable selinux
Setenforce 0
Vi/etc/sysconfig/selinux --> diabledDisable iptables
Service iptables off
Chkconfig iptables off
NetworkingConfigure sohu yum SourceModify the system architecture and version number.
Sohu images are stable.
Not connectedConfigure local sourceAttach a Local CD to/mnt[Centos6.
Label:Reference article: Blog Park-three-dimensional antsLinux Commune1, first need to download the corresponding Platform Jdk:oracle official website2. Install the JDK using the Yum or RPM command:Yum install ./jdk-8u40-linux-x64.rpm3. After configuring the environment variable Vi/etc/profile, enter the following at the penultimate line:Export JAVA_HOME=/USR/JAVA/JDK1. 8 . 0_40export PATH= $JAVA _home/bin: $PATHexport CLASSPATH=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/ Tools.jarIf you need to
System V initial script), removing most of the environment variables, preserving only the Lang and term environment variables, and setting the current path to/, that is, running the service script in a very clean environment that can be predicted.So when the script is running, the environment variable cannot be found, so it is modified to the following script Catalina_home_data=/usr/local/tomcat/tomcat7.0start_tomcat=$CATALINA _home_data/bin/startup.sh stop_tomcat=$CATALINA _home_data/bin/shutd
Release date:Updated on:
Affected Systems:OpenJDKDescription:--------------------------------------------------------------------------------Bugtraq id: 67508CVE (CAN) ID: CVE-2014-0462OpenJDK is a cooperation Platform for open source implementation of Java Platform, Standard Edition and related projects.On Debian GNU/Linux and Ubuntu 12.04 LTS and 10.04 LTS platforms, OpenJDK 6 6b31 and earlier versions have security vulnerabilities. The details are
I installed sudoapt-getinstallnetbeans directly in Ubuntu10.04. It automatically downloads OpenJDK instead of Sun's JDK, while OpenJDK's fontconfig. the properties file has a problem with Chinese characters, which leads to abnormal display of Chinese characters. Fontconfig. properties location (default)/usr/lib/jvm/java-1.6.0-openjd I installed sudo apt-get install netbeans directly under Ubuntu 10.04, which automatically downloads
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.
Then configure the Java environment variable:
Set environment variables: Vim/etc/profile or Vim ~ /. Bashrc, add:
Export java_home =/share/software/jdk1.7.0 _ 17Export Pat
Set the java_home path through the profile file Sudo VI/etc/profile For more information, see Java configuration in Ubuntu If you run the command Java-version Ubuntu may have a default JDK, such as openjdk. If openjdk is available, the result is openjdk. Therefore, to use the JDK we installed by default, perform the following work.RunCode:Update-alterna
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 * uninstall openjdk, which may uninstall some additional software due to dependency.
3: Download th
First, install the OPENJDKJava has 2 jdk, one is Oracle's JDK, and the other is OpenJDK.OpenJDK is used here as the Java development environment.Install with Yum sourceYum Install java-1.8.0-openjdk-devel #java的编译环境yum install JAVA-1.8.0-OPENJDK #jre, Java operating environmentRun the following to verify whether the JDK was successfully installed:Java-version650) this.width=650; "src=" Https://s2.51cto.com/
Because the project is needed, install the Java environment on the machine.1, go to http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html download, select the Accept License AgreementJdk-7u71-linux-x64.tar.gz with Linux x64 selected2, #接下来找个目录来放sun JDK, here we put the/usr/java, and figure out the version, such as Java8 in/usr/java/java8, Java7 in/usr/java/java7Create the/usr/java directory, then unzip the package and move to the/USR/JAVA/JAVA7#mkdir/usr/java tar-
View the current system Jdk:rpm-qa | grep jdk
The results obtained:
The code is as follows
Copy Code
[Root@dc-01 java]# Rpm-qa | grep JDKjava-1.6.0-openjdk-1.6.0.0-1.45.1.11.1.el6.i686
Uninstall OPENJDK:
The code is as follows
Copy Code
[Root@wx32 local]# Java-versionJava Version "1.6.0"OpenJDK
First step: See which packages are installed[Email protected] ~]# Rpm-qa | grep javaTzdata-java-2016g-2.el7.noarchPython-javapackages-3.4.1-11.el7.noarchJava-1.7.0-openjdk-headless-1.7.0.111-2.6.7.8.el7.x86_64Java-1.8.0-openjdk-headless-1.8.0.102-4.b14.el7.x86_64Java-1.8.0-openjdk-1.8.0.102-4.b14.el7.x86_64Java-1.7.0-openjdk
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.