在 netbeans 项目类别中缺少 java 文件夹
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/45728511/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
In netbeans project category java folder is missing
提问by hareen tej
回答by acm
It looks like Java SE is not active in your Netbeans installation. To properly use Java SE features you have to follow these steps:
看起来 Java SE 在您的 Netbeans 安装中未处于活动状态。要正确使用 Java SE 功能,您必须遵循以下步骤:
- Choose Tools > Plugins from the main IDE's toolbar.
- In the Plugins dialog box, click the Installed tab and select Java SE in the list of available features.
- Click Activate.
- At the Welcome panel of the Installer dialog box, click Activate. When the activation is successfully completed, click Finish.
- Click Close to close the Plugins dialog box.
- 从主 IDE 的工具栏中选择工具 > 插件。
- 在插件对话框中,单击已安装选项卡并在可用功能列表中选择 Java SE。
- 单击激活。
- 在安装程序对话框的欢迎面板中,单击激活。激活成功完成后,单击完成。
- 单击关闭以关闭插件对话框。
回答by Reza Paidar
The @acm's answer is right. but you need attention that you are adding a new file at beginning of the Netbeans.
To resolve this problem, after you activated java SE as @acm's answer, you need to create a new project
not new file
on NetBeans.
@acm 的答案是正确的。但是您需要注意您在 Netbeans 的开头添加了一个新文件。
要解决此问题,您激活的Java SE为@ ACM的答案后,你需要create a new project
不new file
NetBeans上。
回答by ajay rajput
1.First go for Tools -> Plugins.
1.首先去工具->插件。
2.Then search for Java SE in available plugins and download Java
2.然后在可用插件中搜索Java SE并下载Java
3.Go in installed plugins.
3.进入已安装的插件。
4.Activate plugin and that's all.
4.Activate插件,就是这样。