Sign in to follow this  

Eclipse only shows java EE not java SE

This topic is 1983 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

When I open Eclipse in the upper right hand corner it only shows java EE, not java SE & it only gives me the option to start a java EE project not a java SE one. I had to re-download and install eclipse. Be for i had a problem and had to uninstall it would allow me to start a new java SE project.

Can any help me get coding again?

Thank you for any help.

Share this post


Link to post
Share on other sites
Hi Jeffige.

You should have an "add perspective" button in the same upper right corner (a icon of a window with a small yellow plus sign). Click it. This will open the "Open perspective" window. Choose "Java (default)" (or just "Java" sometimes) and you're back in the Java SE perspective. The new project options should adapt nicely. Alternatively you can do the same from the menu:
Window -> Open perspective -> Other... (if the options stated above are not listed) -> Java (default).

Hope this helps. :)

Share this post


Link to post
Share on other sites
Man, thank you!


I couldn't figure it out. I can't believe it was something so simple. Thanks for the help. If you don't mind: When I start a new java>project - src>new class, how can I keep the add
[source lang="java"]public static void main(String[] args)[/source]


so I don't have to check it every time?

Thanks for the help.

Share this post


Link to post
Share on other sites
Hello again.

I didn't see an option like that anywhere. Maybe it's because that when you do a project, you should have only one class with the main() method, so basically: yes, you have to check them every time.

However, since you're using Eclipse, then you have some code templates built in (other Java IDEs have them too of course). You can use that to add the main() method a bit faster. When you have a class open, you just have to type "main" in the line, where you want the main() method to appear and press Ctrl+Space (Cmd+Space on a Mac if I remember correctly) and press Enter (choosing the first option from the window that'll appear: "main method"). Edited by MoroS84

Share this post


Link to post
Share on other sites
Sign in to follow this