How to create, export and run a Java application with Eclipse

Hi guys! In this tutorial I will explain to you how you can create you first Java application by using Eclipse. Also, I will explain to you how you can export you Java application.

  • Run the Eclipse program.
  • Click on File -> New -> Java project.
  • Add a name and click on the Finish button.
  • Click on File -> New -> Class
  • And create a new class.
  • In your class, add this code:

public static void main(String[] args)
{
System.out.println("Hello World!");
}

  • Click on File -> Export -> Next -> Finish.
  • And your Java application will be saved.

Video tutorial:









Leave a Comment