Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No java project option in eclipse

There may well be a very simple answer to this but having googled for an hour, I am resorting to asking here.

I am simply trying to install eclipse Indigo(3.7.2) on Ubuntu 12.04 and get it to let me make a java application.

I have used:

sudo apt-get install eclipse

to get eclipse, which also installs the jdt package needed for making java projects.

However, when I navigate to new -> project, I am not given the option of a java project wizard (see screenshot).

New eclipse project

Anyone know how to fix this?

EDIT: Dowloading the .tar.gz myself and unpacking it seems to have worked fine. I'm not sure why apt-get didn't work.

like image 526
Daniel Graef Avatar asked Jun 14 '12 12:06

Daniel Graef


People also ask

Why it is not showing run as Java application in Eclipse?

Run As > Java Application wont show up if the class that you want to run does not contain the main method. Make sure that the class you trying to run has main defined in it.

How do I show project panel in eclipse?

In Eclipse, if the Project Explorer pane is not already open, click the Show View icon in the lower left corner of Eclipse, then click Project Explorer.


1 Answers

Window > Open Perspective > Java

I feel like an idiot for how long it took me to figure this out. It's not very intuitive now, is it? >.<

like image 103
Jade Avatar answered Nov 03 '22 20:11

Jade