Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS 6.6 install JDK7     - Python objects (Programming)

- Linux platform host to prevent hacking skills (Linux)

- Java Virtual Machine class loading mechanism and bytecode execution engine (Programming)

- Installation Mate Desktop in FreeBSD 10.1 (Linux)

- Recent Consolidation Using Linux security module (Linux)

- Laravel configuration PhpStorm + Xdebug + Chrome settings Debug Environment (Server)

- Linux system font color change (Linux)

- RHEL5.8 physical opportunities to Read-only file system (Linux)

- Linux Mint 17 set up the Ruby environment (Linux)

- Use nice, cpulimit and cgroups limit cpu usage (Linux)

- Linux OOM killer mechanism (Linux)

- Hadoop 2.7.1 installation configuration based on availability QJM (Server)

- Linux 6 use UDEV binding shared storage (Linux)

- Oracle 11g tracking and monitoring system-level triggers to drop misuse (Database)

- Linux boot the system does not display a progress bar setting method (Linux)

- How to make a U disk to install Ubuntu (Linux)

- Upgrading KDE Plasma 5.3 in Ubuntu 15.04 (Linux)

- Oracle JDK installation under Ubuntu Linux (Linux)

- Four levels of intrusion on Linux server and counter-measures (Linux)

- Processor in protected mode of protection (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 !!!
- How to release the cache memory on Linux (Linux)
- Linux operating system buffer overflow attacks Countermeasures (Linux)
- Node.js Getting the basics: Helloworld! (Linux)
- How to fix the Ubuntu Error script returned error exit status 1 (Linux)
- Use libcurl library download url image (Programming)
- CentOS / RedHat system partition essential requirements and partition scheme (Linux)
- Ubuntu buffalo wzr-hp-300nh brush DD-WRT router system (Linux)
- NAT (network address translation) Realization (Linux)
- Snort build a secure Linux server (Linux)
- How to migrate MySQL to MariaDB under linux (Database)
- Help you enhance Python programming languages 27 (Programming)
- Oracle 11g new features of the collection of multi-column statistics (Database)
- Getting jQuery - progress bar (Programming)
- 24 Docker recommendations (Linux)
- Ubuntu GCC, G ++ and fortran Version Switch (Linux)
- MongoDB simple replication configuration (Database)
- Ubuntu 14.10 / 14.04 how to install Quick Start tool Mutate 2.2 (Linux)
- PostgreSQL query lock and kill the process (Database)
- Linux shell script under the use of randomly generated passwords (Programming)
- Prevent security threats caused Rootkit (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.