Download, upload and install maven under Linux

To run maven, you must have a JDK, which is written in the Java language I. installation of JDK Download on ORACLE official websiteJDK jdk-8u231-linux-x64.tar.gz Upload JDK to linux server create folder [root@VM_0_17_centos /]# cd /opt [root@VM_0_17_centos opt]# mkdir jdk Using xftp tool to upload compressed files Connecting to a Linux server ...

Posted by JoelyUK on Wed, 06 Nov 2019 23:47:19 +0100

CORBA Component Development

1 purpose of the experiment (1) master the concept of component development, understand CORBA model and ORB mechanism; (2) master the programming method of CORBA Components. 2 experiment content Steps: (1) configuration environment JDK environment. (2) compile IDL interface. (3) compile the server program. (4) compile ...

Posted by Daleeburg on Wed, 06 Nov 2019 20:28:55 +0100

Thumbnail library for java image processing (watermark, thumbnail)

Thumbnail is a library for generating thumbnails for a smoother Java interface. It simplifies the thumbnail process from the existing image files and thumbnails of image objects provided by API. Two or three lines of code can generate thumbnails from existing images, and allows fine-tuning thumbnail generation, while maintaining the minimum amo ...

Posted by Loran on Mon, 04 Nov 2019 17:11:10 +0100

Java HashMap underlying implementation principle source code analysis Jdk8

In JDK 1.6 and JDK 1.7, HashMap is implemented by bitbucket + linked list, that is, it uses linked list to handle conflicts, and the linked lists with the same hash value are stored in a linked list. However, when there are many elements in a bucket, that is, there are many elements with equal hash value, the efficiency of searching by key valu ...

Posted by bertfour on Sun, 03 Nov 2019 03:24:07 +0100

Java IO programming -- character stream and byte stream

In the java.io package, the File class is the only program processing class related to the File itself, but the File can only operate the File itself and not the content of the File, or the core meaning of IO operation in actual development is: input and output operation. For a program, the input and output may come from different environments. ...

Posted by mikesmith76 on Sat, 02 Nov 2019 18:44:50 +0100

Multithreading basics review

Basic knowledge review of multithreading 1) difference between process and thread Process: After the program runs, a QQ, wechat, etc. is a process. Threading: A thread is the smallest unit in a process. To put it simply, a thread is a different execution path in a program. Procedure: QQ is a program, a program on hard disk. 2) dif ...

Posted by omidh on Wed, 30 Oct 2019 11:22:32 +0100

Java virtual machine classloader and parent delegation mechanism

The so-called Class Loader is to load Java classes into the Java virtual machine.< Interviewer, stop asking me "Java virtual machine class loading mechanism" >The mechanism for loading class files is described in. This article focuses on the loader and parental delegation mechanism. Class loader There are three types of classloa ...

Posted by darga333 on Tue, 29 Oct 2019 08:45:53 +0100

Java learning notes: Java language advanced features (generics)

Generic Generics Parameterized types type parameterization1. Definition of generics Generics is a new feature of JDK 1.5. Its essence is parameterized type. That is to say, the data type to be operated is specified as a parameter, and the specific type is specified when it is used. This parameter type ...

Posted by baccarak on Thu, 24 Oct 2019 13:28:09 +0200

Four references in Java

We mentioned GC before, but when more and more objects are referenced in Java, there will be insufficient memory space, resulting in the error OutOfMemoryError and application termination. So why can't GC collect more objects at this time? This is related to the reference types mentioned today.<!-- more --> First of all, starting from JDK ...

Posted by betman_kizo on Tue, 22 Oct 2019 06:42:12 +0200

Record an open of binary file of unknown type

Recently, we received a request to solve the content of a binary file. /home/work/files # ll total 312 -rw-------@ 1 honvid staff 30K 7 24 14:52 15158 -rw------- 1 honvid staff 46K 7 24 14:53 62770 -rw-------@ 1 honvid staff 73K 7 24 11:26 8686584 vi You can see the following mess. ^_<8b>^H^@^@^@^@^@^D^@í½^G`^\I<96>% ...

Posted by sridhar golyandla on Fri, 18 Oct 2019 00:21:15 +0200