Java Basics

How to Write, Compile and Run Your First Java Program?

Before running Java programs you need to install and setup java. For installation guide read: Java Installation: Downloading, Installing and Setting Path How to write and run Java programs? Open notepad and write below program.   class demo {                 public static void main(String…S)                 {                                 System.out.println(“Java Programming”);                 } } Now save the file …

How to Write, Compile and Run Your First Java Program? Read More »

Java Installation: Downloading, Installing and Setting Path

In this tutorial we will learn how to download and install Java and then setting path to make Java programs run. Downloading and Installing To download the latest JDK version visit link: http://www.oracle.com/technetwork/java/javase/downloads/index.html Now click on Download button to go to download page. Select Accept License Agreement and then download appropriate version for your operating system. …

Java Installation: Downloading, Installing and Setting Path Read More »