Environment or JAVA and Hello-World Java Program
- Download the Java from the internet.
- The setup includes JDK and JRE.
- After downloading, open My computer.
- Right click on icon
This PC
- select properties.
- Click on Advanced System Settings
Then follow the steps as shown below.
Press WIN+R , type CMD press Enter.
type javac on cmd.
If java is correctly installed and classpath variable is correctly set , you should be able to get the output which contains options and explaination.
IDE for JAVA- Eclipse is the best IDE for Java Applications. You can download it from official eclipse website.
public class Hello_World
{
public static void main(String[] args)
{
System.out.println("Hello world");
}
}
{
public static void main(String[] args)
{
System.out.println("Hello world");
}
}
public class Hello_world
public static void main(String [] args)
System.out.println()
Environment or JAVA and Hello-World Java Program
Reviewed by vishal
on
August 04, 2017
Rating:
No comments