We will show you some examples of how we handle multiple exceptions types in Java 6 and Java 7 …
Category: Java
Connecting to MongoDB in Java
We will show you how to develop a simple Java application to connect MongoDB database and perform query, insert, update and delete operations using MongoDB Java driver …
Java Example: Modify Strings with StringBuffer
In this article, we’ll show you some examples of how to use StringBuffer class to append, insert, replace, delete and reverse the strings in a string buffer in Java …
Convert String Array to String in Java
In this article, we’ll show you few examples of how to convert from a string array to a string in Java …
Setting the JAVA_HOME and PATH Environment Variables on Windows 7
After install JDK on Windows, we need to configure the JAVA_HOME and PATH environment variables so that the operating system can find the JDK command-line tools …
Write Your First Java Hello World Program Using Notepad
In this tutorial, we’ll walk you through how to write a simple Hello World Java program using Notepad, compile and run the Java program using command line …
Quick Tip: The Differences Between JRE and JDK
JRE and JDK are two very common terms that we will always see in Java. To understand the differences between JRE and JDK is important for Java beginner …
How to Check Your Java Version on Windows
If you want to know what is the Java version that you have installed on your Windows operating system, here are several methods you can use to check it …