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 IT industry more than 7 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, […]

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

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 IT industry more than 7 years. NarayanaTutorial is my web technologies blog. My specialties are Java / J2EE, Spring, Hibernate, Struts, Webservices, PHP, Oracle, MySQL, SQLServer, Web Hosting and Website Development. I am […]

CSV File Writing By ResultSet

CSV File Writing By ResultSet

CSV File Writing By ResultSet In this post I am going to explaining CSV File Writing By ResultSet by using opencsv jar file. You can see what is CSV file?. Find the below example and see how to create csv file by using ResultSet. Before going to write java program we need to download opencsv […]