Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ JDK installation notes under CentOS     - To setup Cocos2dx project under Ubuntu (Linux)

- MySQL master-slave delay problem (Database)

- Vim useful plugin: EasyGrep (Linux)

- ASM Management - How to Rename diskgroup (Database)

- Xtrabackup creates a slave node without downtime (Database)

- 10046 trace only open for a particular SQL statement (Database)

- Stucts2 values on the page and how the attribute values corresponding to the Action (Programming)

- Linux IPTables anti-DDOS attack Shell Scripting (Linux)

- Common data structures and functions of Linux process scheduling (Programming)

- Create the best introductory tutorial REST API (Linux)

- Linux Platform Oracle 11g Single Instance Installation Deployment Configuration Quick Reference (Database)

- Timing task Crontab under Linux system (Linux)

- Objective-C basic program structure (Programming)

- The difference between VMware virtual machine network mode (Linux)

- MySQL 5.7 can not log in problem (Database)

- Protection Docker container Notice (Server)

- pga_aggregate_target and _pga_max_size can not use absolute limit actual PGA (Database)

- Linux file permissions to modify the command: chmod (Linux)

- Talk about the Linux ABI compatibility Application (Linux)

- Wireless LAN security solutions (Linux)

 
         
  JDK installation notes under CentOS
     
  Add Date : 2018-11-21      
         
         
         
  JDK installation

Most of the services are inseparable JAVA environment, CentOS is in OpenJDK, obviously we still use the JDK JAVA good. (Note: CentOS minimal version is not installed OpenJDK, you need to delete the other versions.)

JDK download

Download the JDK tar.gz version from http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Use SSH uploaded to / opt.

installation

# Cd / opt
# Tar xzvf * .tar.gz
# Mv * .tar.gz jdk < --- "*" is that you download jdk version, here is a lot of character to jdk, looked comfortable, do not change it, pay attention to the following configuration
Configuring System Settings

At the end of / etc / profile file to add

export JAVA_HOME = / opt / jdk < --- Here is your jdk installation directory, use the mv above modification, then you will need to write a lot of character here
export PATH = $ JAVA_HOME / bin: $ PATH
export CLASSPATH =:. $ JAVA_HOME / lib / dt.jar: $ JAVA_HOME / lib / tools.jar
 

Execute the command to take effect immediately source configuration information

#source / etc / profile // This command is to take effect immediately.
test

# Java -version < --- display java version information indicates JDK installation is complete
     
         
         
         
  More:      
 
- Features and prevention methods elaborate network security grayware (Linux)
- shell script: the number of characters in the text to print no more than 6 words (Programming)
- Distributed File System using MogileFS (Linux)
- How screenshots from the Linux command line (Linux)
- Linux three ways to set environment variables (Linux)
- Linux Log Clear (Linux)
- Local port forwarding using iptables under linux (Server)
- Ubuntu 14.10 users to install Audio Recorder 1.5.7 (Linux)
- General Linux interface server parameter tuning (Server)
- Linux character device - user mode and kernel mode data transfer data (Linux)
- To install the Git and Github under Ubuntu (Linux)
- C language print various graphic (Programming)
- Java static internal class (Programming)
- Linux scheduling summary (Linux)
- Why use Docker (Programming)
- Compile and install LNMP under CentOS 6.5 (Server)
- mysql_config_editor encryption and decryption of the new features of MySQL realization (Database)
- Java precision four operations (Programming)
- Snort build a secure Linux server (Linux)
- Hive handle count distinct inclination to produce data processing (Database)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.