Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ CentOS 6.6 install JDK7     - MySQL completely uninstall and install Configuring Character Sets under Linux (Database)

- Use web2py + uWSGI + Nginx Web server built on Linux (Server)

- VMware virtual machine to use bridged mode fast Internet access (Linux)

- Paint with Vim (Linux)

- TCP protocol flaw incomplete records (Linux)

- JavaScript common array manipulation functions and usage (Programming)

- Each catalog Detailed Linux (Linux)

- Linux package manager - yum (Linux)

- Mac OS X 10.9 build Nginx + MySQL + php-fpm environment (Server)

- Formatting Java floating-point types (Programming)

- RHEL5 establish a local yum source (Linux)

- Installation and Configuration OpenVPN server and client on Ubuntu 15.04 (Server)

- Oracle GoldenGate encryption (Database)

- OpenvSwitch 2.1.2 shell script to start and stop (Linux)

- MySQL service failed to start thinking of settlement under CentOS7 (Database)

- HDFS Hadoop Distributed File System Works (Server)

- CentOS 6.5 boot automatically mount the hard drive (Linux)

- LMMS 1.03 install on Ubuntu 14.04 (Linux)

- Linux package management (Linux)

- How to Install terminator 0.98 on Ubuntu and Linux Mint (Linux)

 
         
  CentOS 6.6 install JDK7
     
  Add Date : 2016-06-10      
         
         
         
  Explanation: The installation process of recording JDK7 in CentOS 6.6.

1. official website to download jdk7
Download: http: //www.Oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

I downloaded version is jdk-7u76-linux-x64.rpm, available wget command to download:

# Wget -c http://download.oracle.com/otn-pub/java/jdk/7u76-b13/jdk-7u76-linux-x64.rpm?AuthParam=1423901832_534664d912e74413fbff4253bb05da97
After the download, you need to rename the file:

# Mv jdk-7u76-linux-x64.rpm \? AuthParam \ = 1423901832_534664d912e74413fbff4253bb05da97 jdk-7u76-linux-x64.rpm
2. rpm command to install
# Rpm -ivh jdk-7u76-linux-x64.rpm
3. Set the environment variables
# Cd / usr / java
# Ls
/ Usr / java / directory reads as follows:

# Ls
default jdk1.7.0_76 latest
Information obtained from the above jdk1.7.0_76, in the following configuration environment variable to use

# Vim / etc / profile
In the / etc / profile file additional content:

export JAVA_HOME = / usr / java / jdk1.7.0_76
export CLASSPATH =:. $ JAVA_HOME / jre / lib / rt.jar: $ JAVA_HOME / lib / dt.jar: $ JAVA_HOME / lib / tools.jar
export PATH = $ PATH: $ JAVA_HOME / bin
After an additional,: wq to save and exit, let's environment variables to take effect:

# Source / etc / profile
4. View java version
# Java -version
as follows:

java version "1.7.0_76"
Java (TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot (TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
5. detect normal available
# Java
# Javac
If the command usage is displayed, indicating a successful installation.

OK, Enjoy it !!!
     
         
         
         
  More:      
 
- Linux host dual LAN transceiver package ARP problem (Linux)
- CentOS replaces update source and Linux kernel compilation summary (Linux)
- Linux settings Java_home (Linux)
- Ubuntu 14.04 LTS next upgrade gcc to gcc-4.9, gcc-5 version (Linux)
- CentOS 7 server environment to quickly build Linux (Server)
- How do I upgrade to Ubuntu 15.04 (Beta) (Linux)
- To install file manager Nautilus 3.12.2 under ubuntu (Linux)
- OpenGL Superb Learning Notes - New Patterns (Programming)
- HTTP Client Hints Introduction (Server)
- Oracle multi-table query optimization (Database)
- SecureCRT in Python scripting study guide (Programming)
- Oracle table space create large files (Database)
- CentOS RedHat YUM Source Extensions Supplement (including 32-bit, 64-bit) (Linux)
- Piostat - Monitoring and Statistics Linux process (Linux)
- Default permissions Linux file and directory permissions and hide - umask, chattr, lsattr, SUID, SGID, SBIT, file (Linux)
- Linux Getting Started tutorial: Experience QEMU virtual machine articles (Linux)
- Ubuntu installed Gimp 2.6.11 (stable version) with PPA (Linux)
- JDK installation and configuration environment variable under linuxb (Linux)
- Iptables principle (Linux)
- The signature can not be verified under Debian (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.