Installing multiple versions of jdk on Linux system

When a friend mentioned this, he tried to make a record for later. Installation environment: CentOS release 6.5 (Final) 64 bit 1. Install a jdk first, taking jdk 9 as an example [root@local opt]# ls jdk-9.0.4_linux-x64_bin.tar.gz [root@local opt]# tar zxvf jdk-9.0.4_linux-x64_bin.tar.gz ... [root@local opt]# ls jdk- ...

Posted on Sat, 04 Apr 2020 07:31:09 -0700 by jj33

Several ways to switch java version with one click of command line

order This article mainly talks about several ways to switch java version by one key on the command line background Java is now released more frequently than before. Before java9 can be used, java10 will come out, and java11 will come in September 2018. Therefore, there is a need to install multiple versions of Java on notebook computers, and o ...

Posted on Sat, 04 Apr 2020 02:31:27 -0700 by CK9

Install Tomcat 7.0.14 under Linux

To install Tomcat, you need to install JOK first. If JDk can also be installed, you can move to: http://blog.csdn.net/weixin_37998647/article/details/79424379 After installing JDK, continue to install Tomcat: 1, Download the installation package: wget http://www.aminglinux.com/bbs/data/attachment/forum/apache-tomcat- ...

Posted on Thu, 02 Apr 2020 22:21:09 -0700 by Mav666

crontab timing task does not execute in Linux

Recently, I encountered a case of crontab timing task not executing in linux. I'd like to share it with you to avoid stepping into the pit I encountered. Post the script first In order to facilitate the display, the script has been written into the parameter #!/usr/bin/env bash # 1 output file to log for example: bg # 2 the dest ...

Posted on Thu, 02 Apr 2020 15:24:01 -0700 by playa4real

Oracle GC version installation

The installation of oracle 11g grid control is still cumbersome. You need to configure wls and JDK in advance, and there are strict requirements for the version. There are many bug s. Before, I tried to install wls 1036, but when I installed gc, I could not configure OMS to connect to wls domain. I found many bug s on ...

Posted on Tue, 31 Mar 2020 06:08:52 -0700 by xcasio

How to use Dubbo SPI

Opening chapter As mentioned earlier Introduction and usage of Java SPI , and the Dubbo SPI to be mentioned in this article is an upgrade and transformation based on Java SPI (some shortcomings have been improved and several new playing methods have been added). See the official website for details Dubbo SPI part. This article mainly talks ab ...

Posted on Wed, 25 Mar 2020 09:34:06 -0700 by ehmer

Proxy mode for springboot AOP learning notes Basic understanding of CGLIB dynamic proxy

If the object we want to proxy does not implement any interfaces, then we will use CGLIB dynamic proxy, which is the main difference from JDK dynamic proxy. The idea of the CGLIB proxy is to inherit all the methods of the instance class through inheritance, then override them all, and rewrite them with ...

Posted on Mon, 16 Mar 2020 18:47:36 -0700 by troybtj

Why does the number of Map buckets exceed 8 before turning into a red black tree?

Many people should be confused when they see this problem. Because most of the articles analyze how the linked list is converted into a red black tree, but they do not explain why the conversion action is only done when the length of the linked list is 8. The author's first reaction is the same, only ...

Posted on Sun, 15 Mar 2020 23:43:54 -0700 by sebthib55

A quick understanding of Atomic (Atomic integer / Atomic reference / Atomic array / LongAdder)

Catalog Preface Ask: is int thread safe? Demarcation line of basic chapter of Atomic Atomic integer (base type) Overall introduction AtomicInteger Improvement of the above int type example Source code analysis CAS Atomic reference Unsafe implementation Security implementation - using CAS ...

Posted on Sun, 15 Mar 2020 22:38:25 -0700 by rkm11

Java learning series 1: binary sorting tree

Red black tree is a very important data structure. We can often see it in development, such as TreeMap in JDK, TreeSet and HashMap in JDK8. Red black tree is used in their underlying implementation. In order to master this data structure, we decided to start from binary sorting tree, and then gradually ...

Posted on Sun, 15 Mar 2020 00:12:16 -0700 by ljschrenk