• Select "Run -> Run Configurations" from the menu.
  • Search for you project in the list on the left and select it.
  • Select the "Arguments" tab on the right.
  • Write the argument you want to pass to the programm in "Programm arguments".
  • Click "Run"
Answer from Alexander Egger on Stack Overflow
๐ŸŒ
Scientech Easy
scientecheasy.com โ€บ home โ€บ blog โ€บ write, compile, and run java program in eclipse
Write, Compile, and Run Java Program in Eclipse - Scientech Easy
April 2, 2026 - Learn how to develop a simple java program in Eclipse IDE and NetBeans, how to create, edit, compile, run java program in Eclipse and NetBeans
People also ask

Is Eclipse suitable for Java beginners?
Yes, Eclipse is an excellent choice for Java beginners because it provides a user-friendly interface and various key features to support learning and development.
๐ŸŒ
scientecheasy.com
scientecheasy.com โ€บ home โ€บ blog โ€บ write, compile, and run java program in eclipse
Write, Compile, and Run Java Program in Eclipse - Scientech Easy
Does Eclipse IDE work on all operating systems?
Eclipse is a cross-platform IDE. Therefore, you can install it on Windows, macOS, and Linux.
๐ŸŒ
scientecheasy.com
scientecheasy.com โ€บ home โ€บ blog โ€บ write, compile, and run java program in eclipse
Write, Compile, and Run Java Program in Eclipse - Scientech Easy
Can we customize the Eclipse IDE interface?
Yes, Eclipse allows users to customize the interface by rearranging views, adding shortcuts, and installing themes.
๐ŸŒ
scientecheasy.com
scientecheasy.com โ€บ home โ€บ blog โ€บ write, compile, and run java program in eclipse
Write, Compile, and Run Java Program in Eclipse - Scientech Easy
๐ŸŒ
OpenClassrooms
openclassrooms.com โ€บ en โ€บ courses โ€บ 5684376-set-up-your-java-development-environment โ€บ 5822606-create-your-first-java-project-on-eclipse
Create your first Java Project on Eclipse - OpenClassrooms
This class will print out the sentence โ€œI am using Eclipse.โ€ Try it out! Right click on src -> New -> Class ... You can create the name of the class according to Java naming conventions.
๐ŸŒ
Eclipse
help.eclipse.org โ€บ latest โ€บ topic โ€บ org.eclipse.jdt.doc.user โ€บ gettingStarted โ€บ qs-3.htm
Creating your first Java project
JUnit is an open source unit testing framework for Java. First you need to download the JUnit source code. Click here to download the JUnit source code. Save the archive (do not extract) to a directory from now on referenced as <Downloads>. Inside Eclipse select the menu item File > New > Project....
๐ŸŒ
TechVidvan
techvidvan.com โ€บ tutorials โ€บ create-first-java-program-in-eclipse
Create First Java Program in Eclipse for Java Programming - TechVidvan
July 3, 2020 - In this article, we will learn to develop the first project of the HelloWorld program in Eclipse IDE. If you are a beginner in Java programming and Eclipse IDE, this step-by-step tutorial will help you get familiar with the Eclipse IDE and we will create first Java program in Eclipse.
๐ŸŒ
Cogentinfo
cogentinfo.com โ€บ resources โ€บ simple-programming-in-eclipse-ide-java-101
Cogent | Blog | Simple Programming in Eclipse IDE(Java 101)
Open Eclipse and click File > New > JAVA Project. Provide the project name and click on the finish button ยท Select the project you have created in the package explorer (left half side of the window).
๐ŸŒ
STechies
stechies.com โ€บ writing-basic-java-program-using-eclipse-ide
Basic Java Program using Eclipse IDE
In this tutorial, we will learn to write a simple basic JAVA program using IDE Eclipse.Step to write a java program in IDE Eclipse and with proper images representation.
Find elsewhere
๐ŸŒ
Oxford University
mathcenter.oxford.emory.edu โ€บ site โ€บ cs170 โ€บ helloWorldEclipse
Hello World (using the Eclipse IDE)
Then click "Finish". If you expand the class with the right-facing arrow at its left, you will see a folder called "src". Right-click this folder icon and select "New->Class" from the pop-up menu. Each java program you write will consist of one or more of these classes.
๐ŸŒ
YouTube
youtube.com โ€บ watch
How To: Create a Simple Java Program Using Eclipse - YouTube
This beginner-oriented tutorial walks through all the steps to create a very basic program in Java which will sum all numbers from 1 to n.It begins with wher...
Published ย  July 31, 2012
๐ŸŒ
CodeJava
codejava.net โ€บ ides โ€บ eclipse โ€บ how-to-create-build-and-run-a-java-hello-world-program-with-eclipse
How to create, build and run a Java Hello World program with Eclipse
To create a new Java class under a specified package, right click on the package and select New > Class from the context menu:The New Java Class dialog appears, type the name of class as HelloWorld and choose the option to generate the main() method:And click Finish.
๐ŸŒ
Dev.java
dev.java โ€บ learn โ€บ eclipse
Building a Java Application in the Eclipse IDE - Dev.java
You can right-click the class in the package explorer or right-click in the editor where you are writing the code for the class and select Run as > Java application. Alternatively, you can run the application using the Run button in the toolbar.
๐ŸŒ
Happy Coding
happycoding.io โ€บ tutorials โ€บ java โ€บ eclipse
Eclipse - Happy Coding
April 22, 2017 - This finally gives you a Java class you can type your code into! You can type your code into Eclipse (after creating a project and a class) just like you could in a basic text editor. Letโ€™s start by writing a simple program:
๐ŸŒ
Vogella
vogella.com โ€บ tutorials โ€บ Eclipse โ€บ article.html
Using the Eclipse IDE for Java programming - Tutorial
May 31, 2026 - Now, run your code. Either right-click on your Java class in the Package Explorer or right-click in the Java class and select Run As Java Application. Eclipse runs your Java program.
๐ŸŒ
YouTube
youtube.com โ€บ learningfromexperience
How to run first Java code in Eclipse - YouTube
How to run first Java code in EclipseKickstart your Java journey with this simple Hello World in Eclipse ! Learn the essential steps to create your first Ja...
Published ย  March 4, 2024
Views ย  1K
๐ŸŒ
SrcCodes
srccodes.com โ€บ java-hello-world-example-using-eclipse-ide
Java Hello World Example using Eclipse IDE - SrcCodes
July 8, 2012 - This article describes how to create a "Hello World" java program using Eclipse IDE. This program will print "Hello World" in the console.
๐ŸŒ
Javatpoint
javatpoint.com โ€บ how-to-run-java-program-in-eclipse
How to Run Java Program in Eclipse - Javatpoint
How to Run Java Program in Eclipse with oops, string, exceptions, multithreading, collections, jdbc, rmi, fundamentals, programs, swing, javafx, io streams, networking, sockets, classes, objects etc,
๐ŸŒ
Java Made Easy!
java-made-easy.com โ€บ java-hello-world.html
Java Hello World Program For Beginners
That is where Java displays its output in Eclipse. Congratulations, you have just finished your first Java program! Now that everything is set up and works, you have enough tools at your disposal to create highly sophisticated programs. Yes our Java Hello World program was simple, but it is ...
๐ŸŒ
Wikihow
wikihow.com โ€บ computers and electronics โ€บ software โ€บ programming โ€บ java โ€บ how to run java program in eclipse: beginner's guide
How to Run Java Program in Eclipse: Beginner's Guide
January 27, 2026 - Run your Java program within Eclipse to check for errors Eclipse is a very good IDE ( Integrated Development Environment ) for Java Development. You can program easily and efficiently with that. Here are few steps for that : Download and...