Search code examples
javajedit

jedit system tray not displayed / jedit window does not appear


I've been using jedit for a few years. I installed it (not recently) with server mode so that jedit-server starts each time my OS starts.

I'm using windows 7 and java 1.8.0_111 and I recently noticed the random lack of jedit system tray icon. 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.

I usually click on the system tray icon to open a new jedit window. As the system tray icon was missing I tried to launch it manually: programs > jedit > jedit and no window was displayed.

I checked processes and found that the jvm is actually launched but no window is displayed, very odd.

Is there someone with the same issue, a fix or a workaround?

FYI, I did not change jedit or java version recently.


Solution

  • 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. Unfortunatley up-to-now this situation is not handled too nice by jEdit, as it can end in waiting for an answer forever. 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.