Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 583757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:49:35+00:00 2026-05-13T14:49:35+00:00

Ctrl + F11 is the Run keyboard shortcut in Eclipse. But for me, that

  • 0

Ctrl + F11 is the “Run” keyboard shortcut in Eclipse.

But for me, that only works if a Main class is active in the editor. For any of the other 100+ java files in my workspace, eclipse pops up a dialog, complaining “Editor does not contain a main type”.

This makes the Ctrl + F11 shortcut nearly useless. I either have to press Ctrl + Alt + T, name of main class, Ctrl + F11, or use the mouse.

Do I have something misconfigured? What can I do to make Ctrl + F11 really run my program, no matter which file is active in the editor? Or is everybody using the Ctrl + F11 shortcut like that?

edit: I’m using eclipse 3.5.0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T14:49:35+00:00Added an answer on May 13, 2026 at 2:49 pm

    Check the preferences, Launching section – you may want to switch from “launch selection” to “launch previously launched application”.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ctrl + F11 on Eclipse is a life saver. Unfortunately, it only works when
I run my app in the AVD emulator using eclipse but I'm unable to
So Ctrl / Cmd + F11 starts the server, but is there a key
I know that Ctrl + Shift + B launches a solution build, but I
The new awesome Ctrl + . keyboard shortcut to show smart tags has suddenly
It's like Ctrl-shift-T combination, but for package name instead of class name. I have
When I switch to landscape mode ( NUMPAD 7 or CTRL + F11 )
so far i only know to use Ctrl-Shift-A to do SVN in TextMate. is
When I Ctrl C my program on linux I often get output that looks
One of the most frequent thing I do with Eclipse is to re-run the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.