
After the installation of jdk now go to you system drive c drive then go to program file and open java folder then copy the jdk folder and paste it to direct c drive.
Folder name: jdk1.7.0_79
copy from: C:\Program Files\Java\jdk1.7.0_79
paste to : C:\jdk1.7.0_79
and the next step is-


You are ready to start programming of java language, open first.java file with notepad or any editor then type the bellow codes and save it now open cmd.exe from bin folder in jdk and type javac first.java press enter then again type java first and press enter now you will see your program is printed with hello world.
this is our first java program that print and show on display Hello world.
class first
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}

For the better understanding chek this video: First Java Programming Tutorial
0 Comments