Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ JDK installation notes under CentOS     - Automatic Clear date directory shell script (Linux)

- Ubuntu 14.04 and derivative version of the user on how to install cURL 7.37.1 (Linux)

- Linux excellent text editor (Markdown, LaTeX, MathJax) (Linux)

- Oracle multi-user concurrency and transaction processing (Database)

- CentOS / Linux restart active NIC connection paths / network configure error Error Resolution (Linux)

- ActiveMQ-based shared file system HA solutions (Server)

- Large computer network security policy Experience (Linux)

- Oracle query start with connect by tree (Database)

- LogStash log analysis display system (Linux)

- ASP.NET 5 (vNext) Linux deployment (Server)

- Ubuntu ADSL dial-up Internet access (Linux)

- Briefly explain the invasion of the four-level denial of service attack DoS Linux server (Linux)

- Web server security policy (Linux)

- CentOS 6.5_x64 install Oracle 11g R2 (Database)

- Easily solve the MySQL database connection error too many (Database)

- OpenGL ES 3.0 vertex buffer (Programming)

- CentOS6 5 Configure SSH password Free (Linux)

- To configure and use multiple Tomcat under Linux environment (Server)

- How to troubleshoot error java.lang.NoSuchMethodError (Programming)

- The new task parallel library feature in .NET 4.6 (Programming)

  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.


# 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.

# Java -version < --- display java version information indicates JDK installation is complete
- About MongoDB query method according to fuzzy field (Database)
- Create, modify, delete users, user groups under linux (Linux)
- How to test your MongoDB application upgrade? (Database)
- Linux system security norms (Linux)
- CentOS iptables firewall enabled (Linux)
- Linux Platform Oracle 11g Single Instance Installation Deployment Configuration Quick Reference (Database)
- Ubuntu 14.04 installation and configuration environment variable JDK1.8.0_25 (Linux)
- Log4cplus logging facility configuration, installation, testing (Linux)
- To create a Linux server network security (Linux)
- Android custom title bar (Programming)
- Analysis JavaBean (Programming)
- Hanoi problem Java Solution (Programming)
- Talk about Java in the collection (Programming)
- Git and GitHub use of Eclipse and Android Studio (Programming)
- Android memory optimization of the disk cache (Linux)
- Windows 7 hard disk to install Ubuntu 14.10 (Linux)
- linux raid levels and concepts introduced (Linux)
- Linux kernel log --dmesg (Linux)
- Linux install Maven and SVN client (Linux)
- Xshell configure SSH free password (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.