Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to create new java project in Eclipse 3.6.1

Tags:

java

eclipse

I am unable to create a "new Java Project" in Eclipse 3.6.1? I am using Linux sol24 2.6.32-431.17.1.el6.x86_64.

When I go to file and then new, I don't see new Java Project. There is just project. Also, when I do create a new project. I am unable to access src.

Can someone offer some insight into this?

Thanks

like image 978
Avi Avatar asked Dec 02 '25 02:12

Avi


2 Answers

Since you only have "General" and "CVS", it appears that you have Eclipse, but don't have Java for it.

Please try this Linux command in a terminal.

apt-get install eclipse-jdt

This will install the necessary Java Development Tools for your Eclipse.

Make sure you run sudo and restart Eclipse after installing.

like image 197
Andrew_CS Avatar answered Dec 07 '25 19:12

Andrew_CS


When you click new, go to other in the list and then you will see a list of all possible things you can create. you should Java project there.

like image 41
vthallam Avatar answered Dec 07 '25 19:12

vthallam



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!