Java

Import SSL Certificate into Java keystore

Import SSL Certificate into Java keystore We will get the javax.net.ssl.SSLHandshakeException error when we try to access HTTPS urls in java. To avoid these certificate issues, we need to import the SSL Certificate into JVM Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX…
Read more

Java Memory Overview

Java Memory Overview Java Memory overview tutorial intended for java beginners to learn above memory management like memory types etc.  In Nutshell, java memory management deals with: Allocation of memory to new Object Removing unused objects through Automatic Garbage Collection…
Read more

Running a shell script using process builder in java

Running a shell script using process builder in java   Running shell script using process builder java: Linux shell scripts or windows bat scripts will called using Java with below approaches. Always use ProcessBuilder as recommended approach: Using Runtime.exec()  Java code…
Read more