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
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
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
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
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
/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 next compilation is openjdk-7-fcs-src-b147-27_jun_2011.z
Installing JDK SE1.8 with CentOS
The Yum are usually installed through the OpenJDK
Typically used when developing on a Windows platform is SUNJDK
To avoid possible problems, uninstall your own OPENJDK installation SUNJDK
View the OPENJDK version first
Yum List installed |grep Java
Yum-y Remove java-1.6.0-openjdk.x86_64 Delete
Spent three days on Windows OPENJDK, not familiar with bash, plus a variety of inexplicable dependencies and script bugs, physically and mentally exhausted. Finally make all the time produced a inexplicable error said what has warning and-werror to true, dead or alive no Google to-werror is what ghost, had to forget.Today's rookie suddenly remembered, I also have Ubuntu virtual machine, right vote a try, did not expect easy success.Platform: Ubuntu Ve
View the JDK version installed by the system
[email protected]: ~# java-versionJava Version "1.7.0_79"OpenJDK Runtime Environment (IcedTea 2.5.5) (7U79-2.5.5-0UBUNTU1)OpenJDK 64-bit Server VM (build 24.79-b02, Mixed mode)2. Upload the JDK to the/OPT directory[email protected]: ~# cd/opt[email protected]:/opt# lsJdk-6u45-linux-x64.bin3. Modify the permissions of the JDK[email protected]:/opt# chmod +x J
Debian (Wheezy) install Java environment/replace OpenJDK with SUN JDK
Debian (Wheezy) install Java environment/replace OpenJDK with SUN JDK
Because the project needs to install the Java environment on the machine.
1, go to the http://www.Oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html download, select the Accept License Agreement
Linux x64jdk-7u71-linux-x64.tar.gz
2, # Find a direct
path=Execute the following command to make the configuration effectiveSource/etc/profileNote: path= "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" must be retained, Doing so will cause the system not to log in. You can also use another two configurations instead of the line configuration:5. How to unload your own OPENJDK:
sudo apt-get remove openjdk*
Because compiling Android source code requires openjdk1.7.x version. Ubuntu 16.04 comes with a 1.8.X version of OPENJDK.sudo apt-get install openjdk-7-jre or sudo apt-get install OPENJDK-7-JDKIf it appearsThere is no available package openjdk-7-jdk, but it is referenced by other packages.This may mean that the missing package may have been discarded, or it could
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
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.