简体   繁体   English

无法在Ubuntu 14中创建新的或打开的Netbeans项目

[英]Can't create new or open Netbeans projects in Ubuntu 14

When to try to create a project in Netbeans, it freezes up after clicking Finish. 尝试在Netbeans中创建项目时,单击“完成”后它会冻结。 All my buttons are greyed out, and I have to close the dialogue. 我所有的按钮均为灰色,我必须关闭对话框。 I would attach a picture to show, but Im missing a few rep points. 我会附上一张图片显示,但我错过了一些代表点。

After I close this dialogue, I just see the blank netbeans screen with no projects visible in my projects sidebar. 关闭此对话框后,我仅看到空白的netbeans屏幕,在项目侧边栏中没有可见的项目。

If I try to Open Project and navigate to where I saved it, I can select the project and click the Open Project button, but I return to the screen shown above, with no projects in the projects navigator in the sidebar. 如果尝试打开项目并导航到保存项目的位置,则可以选择项目并单击“打开项目”按钮,但返回到上面显示的屏幕,侧边栏的项目导航器中没有项目。

Here is what I have already tried: 这是我已经尝试过的:

  • Reinstall netbeans 重新安装netbeans
  • Remove openjdk and install oracle's java 删除openjdk并安装Oracle的Java
  • Deleting the nbproject folder inside my project 删除项目中的nbproject文件夹

Thanks in advance. 提前致谢。

I have had similar experience with Netbeans after upgrading to Ubuntu 14.04. 升级到Ubuntu 14.04后,我在Netbeans上也有类似的经历。 My eventual solution was to download and install the Netbeans 8 for linux from the Oracle site, complete with its JDK. 我最终的解决方案是从Oracle站点下载并安装Linux的Netbeans 8,并附带其JDK。 I installed that. 我安装了。 During the installation was asked if I wanted to import the settings from the previous version of Netbeans, I answered NO to that and then pulled my existing projects in manually, They are all working fine now. 在安装过程中,系统询问我是否要从以前版本的Netbeans导入设置时,我回答“否”,然后手动拉入现有项目,它们现在都可以正常工作。

you have to install netbeans from https://netbeans.org/downloads/8.0.1/ install and don't import earlier settings. 您必须从https://netbeans.org/downloads/8.0.1/ install安装netbeans,并且不要导入早期的设置。 Everything works good. 一切正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM