Java Code to list all running process

Java Code to list all running process (List of Current Open Processes using Java)

A simple to code to list all the running processes in our system using Java.
This code is tested using NetBeans

 

Get all dates in a month using Java

Get all dates in a month using Java
A code to print list of all dates in a month using Java
This code is tested in Netbeans

 

Send Email Using Gmail in Java

Send Email using Gmail in Java

Here is another code for sending email using Java.  My Previous code, it needs to have access to application-specific password(Sending Email Using Java). Here you just need to enter your email address and password.

Requirements:
1. you need mail.jar and activation.jar to be added to your project
2.  Sign in your gmail, go to Account–> Connected Apps and Sites –> Allow less secure apps: turn it ON

 

Count Repeated Words in a Paragraph by Using Java

Count Repeated Words in a Paragraph by Using Java

Youtube: Video Tutorial

Sending Email Using Java

Sending Email Using Java

Here is the code to send email using Java. Here we are going to use gmail gateway to send emails.
Please follow these steps before you use this code:
1. Login your google account
2. In google search, search “Application-specific password”
3. Enter a label for your reference and select “generate password”
4. Copy that password and paste it in code at “//password here” line.

Tested in NetBeans 8.0