[英]Unable to create new java project in Eclipse 3.6.1
I am unable to create a "new Java Project" in Eclipse 3.6.1? 我无法在Eclipse 3.6.1中创建“新Java项目”? I am using Linux sol24 2.6.32-431.17.1.el6.x86_64.
我使用的是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. 当我去文件然后新的时候,我没有看到新的Java Project。 There is just project.
只有项目。 Also, when I do create a new project.
另外,当我创建一个新项目时。 I am unable to access src.
我无法访问src。
Can someone offer some insight into this? 有人可以对此提供一些见解吗?
Thanks 谢谢
Since you only have "General" and "CVS", it appears that you have Eclipse
, but don't have Java
for it. 由于您只有“常规”和“CVS”,因此您似乎拥有
Eclipse
,但没有Java
。
Please try this Linux
command in a terminal
. 请在
terminal
尝试此Linux
命令。
apt-get install eclipse-jdt
This will install the necessary Java Development Tools
for your Eclipse
. 这将为您的
Eclipse
安装必要的Java Development Tools
。
Make sure you run sudo
and restart Eclipse
after installing. 确保在安装后运行
sudo
并重新启动Eclipse
。
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.
你应该在那里Java项目。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.