Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ CentOS 6.6 install JDK7     - LVM mirrored logical volume to achieve (Linux)

- Increase ssh security service under Linux (Linux)

- MySQL error: ERROR 1175: You are using safe update mode solution (Database)

- CentOS build JDK environment (Linux)

- GNU Linux system variables (sysctl configuration commands) integrated use (Linux)

- C ++ inline functions (Programming)

- Oracle 11g RMAN cross-platform transfer table space (Database)

- Linux User Rights Study Notes (Linux)

- Linux cut Command Study Notes (Linux)

- To install Jetty server configuration in detail (Server)

- Use Hexo quickly build and deploy a blog to Github (Server)

- shell script: MySQL monitoring service is normal (Database)

- How to install Wine 1.7.20 under Ubuntu or Linux Mint (Linux)

- Tree Traversals Again (Programming)

- 10 practical Java programming technology (Programming)

- stat Usage: Get permission to file the corresponding figures (Linux)

- CentOS network configuration 7, and set the host name and IP-bound problems (Linux)

- How to recover deleted files in Linux systems (Linux)

- How to build Memcached Docker container (Server)

- Zabbix installation and configuration process (Server)

  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 !!!
- Linux Getting Started tutorial: Experience VirtualBox Virtual Machine chapter (Linux)
- Ubuntu 14.04 LTS 64-bit install GNS3 1.3.7 (Linux)
- Linux system server network security management tips (Linux)
- Ubuntu 14.04 kernel after the restart boot black screen to solve (Linux)
- Install the latest ATI / Nvidia graphics driver on Ubuntu (Linux)
- Close and limit unused ports computer server security protection (Linux)
- How to configure security services under Linux (Linux)
- The source code compiler installation Nginx 1.8.0 under Ubuntu 14.10 (Server)
- Elasticsearch 2.20 Beginners: aggregation (Server)
- Use libcurl library download url image (Programming)
- Linux system started to learn: how to view the Linux thread of a process (Linux)
- Oracle database on the hit rate of query summary (Database)
- How to install Eclipse Luna IDE on CentOS 7 / RHEL 7 (Linux)
- Linux POST fstab configuration file read-only variable can not be modified problem (Linux)
- Linux security configuration (Linux)
- MySQL uses mysqld_multi to deploy stand-alone multi-instance detail procedures (Database)
- DNF Command Tutorial (Linux)
- Ubuntu uses under KVM + Qemu virtual machine build (Linux)
- Java Concurrency -volatile keywords (Programming)
- Unable to start the network after restart clone a virtual machine (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.