Category: Java

Java Online Tutorial

Convert JKS to PKCS12

Self Signed JKs

SelfSigned JKS file can be generated for a development environment but the JKS keystore uses a proprietary format. It is recommended to migrate to PKCS12 which is an industry-standard format using “keytool -importkeystore -srckeystore keystore.jks -destkeystore keystore.jks -deststoretype pkcs12“ Generate Self signed JKS narayanatutorial.jks file generated, now we can convert JKS to PKCS12 using the […]

How to check Java Heap Memory in windows system

Find Minimum Heap Memory Open windows command prompt and then enter the following command. javaw -XX:+PrintFlagsFinal | find “InitialHeapSize” Ouput Find Maximum Heap Memory Open windows command prompt and then enter the following command. javaw -XX:+PrintFlagsFinal | find “MaxHeapSize” Output Find ThreadStackSize , HeapSizePerGCThread Memory Open windows command prompt and then enter the following command. […]