简体   繁体   English

jedit系统托盘未显示/ jedit窗口未出现

[英]jedit system tray not displayed / jedit window does not appear

I've been using jedit for a few years. 我已经使用jedit几年了。 I installed it (not recently) with server mode so that jedit-server starts each time my OS starts. 我以服务器模式安装了它(不是最近),因此每次我的OS启动时jedit-server都会启动。

I'm using windows 7 and java 1.8.0_111 and I recently noticed the random lack of jedit system tray icon. 我正在使用Windows 7和Java 1.8.0_111,最近我注意到随机缺少jedit系统任务栏图标。 By random I mean from time to time (maybe one out of ten times, no obvious periodicity), after windows starts, the system tray icon is not visible. 随机地,我的意思是有时(可能是十分之一,没有明显的周期性),在Windows启动之后,系统托盘图标不可见。

I usually click on the system tray icon to open a new jedit window. 我通常单击系统任务栏图标打开一个新的jedit窗口。 As the system tray icon was missing I tried to launch it manually: programs > jedit > jedit and no window was displayed. 由于缺少系统托盘图标,因此我尝试手动启动它:“程序”>“ jedit”>“ jedit”,并且没有显示任何窗口。

I checked processes and found that the jvm is actually launched but no window is displayed, very odd. 我检查了进程,发现jvm实际上已启动,但是没有显示任何窗口,非常奇怪。

Is there someone with the same issue, a fix or a workaround? 是否有人遇到相同的问题,修复或解决方法?

FYI, I did not change jedit or java version recently. 仅供参考,我最近没有更改jedit或java版本。

If jEdit does not come up you maybe have a stale server file in your settings directory that points to a port that some process listens on but does not respond how jEdit expects. 如果没有出现jEdit,则可能是在您的设置目录中有一个陈旧的server文件,该文件指向某个进程侦听但不响应jEdit期望的端口。 Unfortunatley up-to-now this situation is not handled too nice by jEdit, as it can end in waiting for an answer forever. 到目前为止,jEdit无法很好地处理这种情况,因为它可能会永远等待答案。 So if you find jEdit not coming up, have a look at activity.log in the settings directory to see whether some error is logged, and try deleting the server file from the settings directory after killing the jEdit process and before restarting it. 因此,如果您发现jEdit没有出现,请查看settings目录中的activity.log以查看是否记录了一些错误,并在杀死jEdit进程之后并重新启动它之前尝试从settings目录中删除server文件。

Actually, I found a workaround, if you start jedit manually from command line using the "noserver" option, the jedit window is displayed as expected: 实际上,我找到了一种解决方法,如果您使用“ noserver”选项从命令行手动启动jedit,则会按预期显示jedit窗口:

C:\Program Files\jEdit>java -jar jedit.jar -noserver

It probably means there is something wrong with jedit-server start process or at least with the communication between jedit client and server. 这可能意味着jedit-server启动过程或jedit客户端与服务器之间的通信至少有问题。 I did not found what yet, but at least it gives a workaround! 我还没有发现什么,但至少可以提供解决方法!

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

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