Steps to get started with Java programming

Download the Java Development Kit

You can download the JDK from Oracle. Install it add it to ur system PATH so that you can access Java anywhere on your system.

Writing a Java file

In Linux you can use geditor for typing your Java Program or u can download IDEs like IntelliJ Idea,Netbeans or Eclipse.

Saving Your file

Save your java program as .java file.

Running your file

1) In the terminal type: javac filename.java

2) The previous command will create a class file , then type: java classname

3) This will run your program in the terminal