Just use Ctrl + F11. (This is the standard keyboard shortcut to run the class you are working on)

I wish this is what you are looking for... buddy.

Answer from Dan Ortega on Stack Overflow
🌐
Vogella
vogella.com › tutorials › EclipseShortcuts › article.html
Eclipse Shortcuts - Tutorial
This shortcut puts the focus into the Quick Access (quick access) search box thatallows you to execute any Eclipse command. For example, you can open a Preference, a Wizard, a view and a Preference page. You can use QuickAccess to search for an opened editor by typing in the name of the resource which the editor shows. The following screenshot shows how you the available commands in quick access for the "New Java" search term.
Discussions

java - How can I run code in Eclipse IDE using keyboard shortcut keys - Stack Overflow
I'm very much new to Eclipse IDE and running a code over and over (like when debugging a program) is somehow became a nuisance specially when I'm rushing a code. Any ideas on how can I run my code More on stackoverflow.com
🌐 stackoverflow.com
macos - What is the shortcut for running java application in mac eclipse - Stack Overflow
I get used to eclipse and know that ctrl+F9 is used for running java application in eclipse in windows. But now I switch to mac, and find that cmd+F9 is used for debug java application, so what is ... More on stackoverflow.com
🌐 stackoverflow.com
java - How do I compile my code in Eclipse using keyboard shortcut key - Stack Overflow
How do I compile my code in Eclipse using keyboard shortcut key? I have Googled this but could not find any answer. In addition, if you know how to move through different tabs in Eclipse using ke... More on stackoverflow.com
🌐 stackoverflow.com
The most useful Eclipse shortcuts, in gif form, and a printable cheat sheet!
A few other indispensable ones : Ctrl-Shift-T : Open type Ctrl-Shift-R : Open resource Ctrl-Shift-F : Format code Ctrl-Shift-M : Add import of type under cursor Alt-Shift-R : Rename Alt-Shift-V : Move Alt-Shift-L : Extract local variable Alt-Shift-M : Extract method Alt-Shift-I : Inline variable/method Alt-Shift-C : Change method signature Alt-Shift-Z : Add block around selection (try-catch, for, etc.) Ctrl-Alt-G : Search symbol Ctrl-Alt-H : Open call hierarchy Ctrl-T : Open type hierarchy F3 or Ctrl-click : Go to declaration Ctrl-W : Close tab Alt-Shift-A : Enter column mode Ctrl-Shift-up/down : go to next/previous method Alt-left/right : go to previous/next edit location F11 : Run last launched Ctrl-F11 : Debug last launched Ctrl-1 : Open quick fix popup Alt-Shift-X, T : Run unit tests More on reddit.com
🌐 r/java
20
197
December 20, 2014
🌐
JavaTechOnline
javatechonline.com › home › java ide eclipse keyboard shortcuts
Java IDE Eclipse Keyboard Shortcuts - JavaTechOnline
May 26, 2024 - 5) Click on Runtimes 6) Unselect jdk check box which is not required 7) Under Facets select required Java version number 8) Finally, click on Apply and close button. After going through all the fundamentals of an IDE, particularly Eclipse IDE and our main topic ‘Java IDE Eclipse Keyboard Shortcuts’, finally, we should be able to develop Java Projects using Eclipse confidently.
🌐
DZone
dzone.com › software design and architecture › integration › top 30 eclipse keyboard shortcuts for java programmers
Top 30 Eclipse Keyboard Shortcuts for Java Programmers
July 9, 2018 - 29) Alt+Shift+X, Q to run Ant build file using keyboard shortcuts in Eclipse ... Remember, we are technical people. If we are not learning, we are going backwards. And, here is the nice image to remember these useful Eclipse shortcuts for Java ...
🌐
Javapapers
javapapers.com › core-java › eclipse-shortcuts
Eclipse Shortcuts - Javapapers
CTRL F11 – Run last run program. CTRL 1 – Quick fix code. CTRL SHIFT G – Search for current cursor positioned word reference in workspace · CTRL H – Java search in workspace. Download eclipse shortcuts list as a single page pdf.
🌐
YouTube
youtube.com › watch
Eclipse Shortcut Keys | Java Tutorial for Beginners 3 | TalentSprint - YouTube
Watch our "Java Tutorial for beginners " series and become a Java Professional. In this series, we will be explaining Java from the very basic step and all o...
Published   May 20, 2017
🌐
Blogger
javarevisited.blogspot.com › 2018 › 07 › top-30-eclipse-keyboard-shortcuts-java-programming.html
Top 30 Eclipse Keyboard Shortcuts for Java Programmers [UPDATED]
Later I found that Eclipse is most suited for that distributed core Java application, which runs on Eclipse and depends upon a proprietary Linux library. It wasn't possible to run the whole application in Windows, and at that time some of the cool features of Eclipse like. Remote Debugging, Conditional Breakpoints, Exception breakpoints, and Ctrl+T and Ctrl+R kind of shortcuts really saved my life. Here I am sharing a list of 30 Eclipse keyboard shortcuts, which I found most useful and used in my day-to-day life while writing code, reading the code, or debugging Java application in Eclipse.
Find elsewhere
🌐
Javabeginnerstutorial
javabeginnerstutorial.com › eclipse-2 › eclipse-shortcuts-for-java
List of Very Useful shortcuts for Eclipse IDE
August 20, 2012 - If there is any unused import in ... are different proposals available in eclipse all proposals will get displayed with same shortcut but by pressing space button again and again. ... This shortcut can be used to run any Java application....
🌐
Slideshare
slideshare.net › home › education › to run java program in eclipse
To run java program in eclipse | DOCX
To run a Java program in Eclipse, ... Java project and package, add a new class, and run the program using the Run option or Ctrl+F11 keyboard shortcut....
🌐
Turing
turing.com › blog › eclipse-shortcuts-and-productivity-tips
35+ Eclipse Shortcuts and Productivity Tips for Java Developers! | Turing
February 21, 2025 - 2. Autocomplete: If you want to print something in Java, you can type “System.out.println” and click Ctrl + Space. The Eclipse will automatically complete the code and put the cursor in between the two parentheses; here, you can fill in the content you want to print. 3. Main Method: Enter “main” and press Ctrl + Space; the first proposal will be the primary technique choice. With this Eclipse shortcut, you can write the main method with only a few keystrokes.
🌐
TutorialsPoint
tutorialspoint.com › eclipse › eclipse_running_program.htm
Eclipse - Running Program
The Run item on the Run menu can be used to restart the java application that was previously started. The shortcut key to launch the previously launched Java application is Ctrl + F11.
🌐
LinkedIn
linkedin.com › pulse › top-30-eclipse-keyboard-shortcuts-java-programmer-jayveersinh-solanki
Top 30 Eclipse Keyboard Shortcuts for Java Programmer.
March 8, 2018 - 26) Ctrl+Shift+L to view the listing for all Eclipse keyboard shortcuts. 27) Alt + Shift + j to add Javadoc at any place in Java source file. 28) CTRL+SHIFT+P to find closing brace.
🌐
Javatpoint
javatpoint.com › eclipse-shortcuts-java
Eclipse Shortcuts Java - Javatpoint
Eclipse Shortcuts Java with java tutorial, features, history, variables, object, programs, operators, oops concept, array, string, map, math, methods, examples etc.
🌐
Baeldung
baeldung.com › home › ide › common shortcuts in eclipse
Common Shortcuts in Eclipse | Baeldung
August 8, 2025 - When we’re ready to let our application run to completion, let’s use F8 to let our application continue execution. In this article, we’ve learned about some of the common keyboard shortcuts available in the Eclipse IDE.
🌐
GeeksforGeeks
geeksforgeeks.org › techtips › most-used-eclipse-keyboard-shortcuts-that-every-java-developer-should-know
Most Used Eclipse Keyboard Shortcuts That Every Java Developer Should Know - GeeksforGeeks
February 6, 2023 - Java is a popular programming language, created in 1995 by James Gosling. It is owned by Oracle, and more than 3 billion devices run Java. it is one of the most preferred languages used for development in industries. To develop such applications, IDEs come into the picture. Eclipse is the most used Java development IDE, and knowing Eclipse shortcuts improves your productivity and makes you more efficient. This tutorial is about the Top Best Eclipse keyboard shortcuts every Java developer should learn.
🌐
SourceBae
sourcebae.com › home › 50 eclipse shortcuts and productivity tips for java developers
50 Eclipse Shortcuts and Productivity Tips for Java Developers - SourceBae
August 21, 2025 - Simply go to Window > Preferences > General > Keys and click on the “Bind a new command” button to set your desired shortcut. Yes, Eclipse supports a wide range of programming languages through plugins.
🌐
Medium
medium.com › buzz-code › java-8-eclipse-shortcut-keys-d40cc35cb5c9
Java 8 | Eclipse Shortcut Keys. Hi guys! Before we actually start the… | by Student Kim | Buzz Code | Medium
December 9, 2020 - Now if I press ctrl + F11 to run this on the console. ... Then you can see the text on the console, which is in the println. And you can move the whole row with using Alt + ↑/↓ . ... Put the typing bar on the row that you want to move and ...