Category: Java

Java Online Tutorial

Microsoft Office365 SMTP, POP3 and IMAP Settings

Office365-Server-Details

Microsoft Office365 SMTP, POP3 and IMAP settings   Here I am going to sharing Microsoft Office365 SMTP, POP3 and IMAP Settings to connect from any programming language to send email and fetch email from inbox by using different type of protocol   SMTP Settings To send emails by using Microsoft Office365 exchange SMTP server SMTP […]

How to build a release in MVN in Linux

Navigate to project location where you should see pom.xml, assume source code is in SVN. Step#1 $svn update –username=<username> Step#2 $mvn clean Step#3 $mvn release:clean Step#4 (This is an optional step) $mvn -Ddry-run=true release:prepare -DscmCommentPrefix=”provide release information” Step#5 <Now Do the proper prepare> $mvn release:prepare -DscmCommentPrefix=”provide release information” First input: You need to provide release […]

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 […]

Subscribe to our newsletter

You can get latest post updates, interview tips and much more We promise not to spam you. You can unsubscribe at any time NarayanaswamyHello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my web technologies blog. My specialties are Java […]

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. […]

How to Create a JAR file in Linux

Create a Jar File Created 3 sample files as file1.txt, file2.txt and file3.txt -bash-4.1$ ls file1.txt file2.txt file3.txt -bash-4.1$ jar -cvf test.jar * added manifest adding: file1.txt(in = 5) (out= 7)(deflated -40%) adding: file2.txt(in = 5) (out= 7)(deflated -40%) adding: file3.txt(in = 5) (out= 7)(deflated -40%) -bash-4.1$ ls file1.txt file2.txt file3.txt test.jar Unjar a Jar […]

Start or Stop Oracle XE in Linux

Login to Linux Server as a Root user $sudo su – Root <Start Oracle XE Service> $service oracle-xe start <Stop Oracle XE service> $service oracle-xe stop Ramesh Kunamaneni (RK)Greetings!! This is Ramesh Kunamaneni (RK), I have a decade experience in IT and worked for various MNCs. I am happy to share my knowledge in this […]

Latest Info

List of Latest Categories List of Latest Posts NarayanaswamyHello! I am Narayanaswamy founder and admin of narayanatutorial.com. I have been working in the IT industry for more than 12 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting, Website Development, and […]