Netbeans 8.02:已运行的程序实例

时间:2017-02-23 20:56:01

标签: java netbeans

突然间我开始收到此错误。 它的工作正常,直到最近几个月没有任何问题。

我面临的问题是当我使用双击打开与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而不双击该文件,那么我无法使用双击打开一个文件,我得到相同的错误框。

1 个答案:

答案 0 :(得分: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)