2017-02-23 82 views
1

突然我开始出现这个错误。 它工作正常,直到最近几个月没有任何问题。Netbeans 8.02:程序已经运行的一个实例

我面临的问题是,当我打开与Netbeans相关的文件时,使用双击打开第一个实例,但打开第二个文件时使用双击。 我得到一个窗口,提示:

An instance of the program is already running with your user directory 
Either a previous session of the program is running on a different computer 
and using the same user directory. 

If another session of program is running with the same user 
directory,please click to cancel to prevent the corruption of the user 
directory. If you are sure that no other instances of the program is running 
with your user directory, click OK to continue. 

我有谷歌的错误。我发现的唯一解决方案是您的用户目录中存在需要删除的锁定文件。

但在我的情况下,我观​​察到没有过时的锁定文件。只有当Netbeans正在运行时,锁才存在。一旦关闭netbeans,就会自行删除锁定文件。

我也删除了所有的缓存,认为它可能会导致一些问题。 但它们都不能解决问题。

再次如果我没有双击该文件而直接启动Netbeans,那么我无法使用双击打开一个单独的文件,并且我得到相同的错误框。

+0

当您尝试编译该程序时,您会收到此注释吗? – sbowde4

+0

不,我试图通过双击与netbeans关联的文件资源管理器打开文件时得到了这个。 – Joshi

回答

1

也许这是写作迟到,但我有完全相同的问题。很多次我卸载并安装旧版本(如7.x),即使我卸载java jdk :)

我以为开始使用JetBrains,但我无法打开JetBrains。我搜索了为什么JetBrains几个小时不打开,我意识到问题是卡巴斯基。

https://intellij-support.jetbrains.com/hc/en-us/community/posts/206489659-Error-Cannot-Lock-System-Folders

我卸载卡巴斯基并打开JetBrains公司。

宾果! :)

并随着该NetBeans(8.2)开始打开没有任何问题。

我不知道为什么卡巴斯基会成为一个问题。

(平台:Win 10,x64)

相关问题