0
votes

I'm new to eclipse. Just started today, with an strange problem.

No keyboard shortcuts work. When I press Ctrl+F11 for Running program, nothing happens. But if I choose Run from top menu, it runs the program. Editor shortcuts, like Ctrl+Z work.

I'm running Windows 8.1 on HP Probook; with Eclipse Kepler Service Release 2 (build id: 20140224-0627)

1
The shortcuts for Eclipse are context-sensitive. They will only work when specific perspectives are opened and when your mouse pointer is focused on specific panels. That being said, if that's not the problem, make sure that you didn't accidentally change the lists of shortcuts you can use in your settings. - Stephan Branczyk
If you have a Fn key, does Ctrl+Fn+F11 do what you expected of Ctrl+F11? - nitind

1 Answers

0
votes

First,When you use shortcut keys, check if the current selected or active source code file has the main method and not your other class.