Reputation: 479
I've tried cleaning and validating my project, restarting both Eclipse and my computer and my java class files won't open in the editor. Also, I've tried deleting the project from my workspace and reimporting it and no luck. Does anyone know what it might be?
Upvotes: 2
Views: 7304
Reputation: 1
make sure that a single click is selected for open mode. if you go to preference setting, it will be the first thing you will see
Upvotes: 0
Reputation: 11940
Try this Right Click on File -> Open With -> Java Editor
Make sure you are in the Java perspective.
Try cleaning eclipse. Start eclipse with
eclipse --clean
Hope this helps.
Upvotes: 1