add

Tag: java

Install latest Java and set Environment

1) Run below command to install java-8-openjdk-devel package.   sudo yum install java-1.8.0-openjdk-devel   2) Verify the installation by checking the java version.   $ java -version openjdk version “1.8.0_232” OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)   3) Setup Java Home and Path for all Unix users add a new script with any […]

utf8_ASCII

Useful Java functions that work on incoming char/Blob stream.

I Came across an integration problem days back where i had to work on integrating an application that supports all UTF-8 characters like emoji’s and ascent/descent problems. For example, source system could send a UTF-8 rich fancy gift card messages that includes many  emoji’s and fancy characters and the target system supports only a pure ASCII char set  between \x00 […]