This section deals with problems you may experience while using or installing jEdit. Problems that aren't OS specific are listed under “General Problems”.
jEdit won't start. What should I do?
If you don't have a clue as to why you cannot run
jEdit, it's best to perform a step-by-step diagnosis. If it
never worked before, begin by finding the Java application
loader you are using:
Next, find where you have installed jEdit. You should
look for the file
Once you have both files, run the Java loader with the
If jEdit does load using this procedure, you need to examine the “shortcut” loading mechanism you wish to use.
On Linux and MacOS X, you need to find and examine the
On Windows, if you are using a batch script to run
jEdit, the same points (other than file permissions) apply
If it used to work for an older version and no longer
works, it could be that you have some old crud (bad
settings, unsupported plugins) in your jEdit
settings directory (
If at this point you're still stuck, ask for help on the jedit-users mailing list, the jEdit Community “Installation” message board or on IRC. You're bound to find someone quickly.
After jEdit starts, I can't see all of the plugins I have downloaded. How can I make them appear?
If you use jEdit's Plugin Manager to download and
install plugins, your plugins will be found in the
The default location of the settings directory depends
on your operating system. You can find out its location
during a jEdit session by evaluating
The settings directory can be changed by using the
During an editing session I get an error message about an “OutOfMemoryError” while working with a large file or performing a lengthy operation. The message reappears every time I retry the operation. How can I prevent this?
The memory requirements of jEdit vary greatly depending on how many files are in use, and what plugins you are using. You can see how much it is using in the status bar.
One solution that often works is to set or increase
the allocation of memory to the heap for Java objects
created by the Java Virtual Machine in which jEdit is
running. Add a command line option
If you are using the
On Windows, if you are using the
If out of memory errors occur while running a build or compilation operation from within jEdit, you can also have the operation run in an external process rather than inside the same Java Virtual Machine running jEdit. The AntFarm plugin, for example, lets you select this approach as a configuration option. In other cases, you can run an external program using the command line interface of the Console plugin, which will capture and display the output of the external process and in many cases parse the output for error information.
My textarea gets confused about the end of the buffer or in some other way corrupted (the characters are in the wrong place on the screen) every now and then. What should I do?
It happens to me sometimes too. I have this macro to work around it for now:
/** Reset_TextArea.bsh */ view.splitVertically(); view.unsplitCurrent();
Run this, and jEdit creates a new TextArea for you, and that one won't be confused. This can help avoid the need to restart jEdit. If you can reproduce the steps you took to cause this, please submit a bug report that details what plugins/versions you were using, and how to reproduce it. It may be specific to a file you are editing, or a particular combination of settings you are using, or sequence of actions you performed.
Why is jEdit's window movement and resizing so buggy?
Perhaps the option to let Java draw window borders is enabled. This option can lead to strange behavior on some Java versions and operating systems. Disable it in the Appearance tab of the > dialog box.
What should I do when the installer displays the message,
No such file or directory
The full message that you may receive from the Java application launcher begins as follows:
Exception in thread "main" java.util.zip.ZipException: No such file or directory ...
This means that the Java application launcher cannot read the jar archive file that you specified on the command line. If your Java runtime environment otherwise runs properly, then either you have named the incorrect file name or the installation file is corrupt or incomplete. Check the file name, download the installer again if necessary, and be sure to follow any specific instructions for your operating system posted on the jEdit web site.
Exception in main(), NoClassDefFoundError: jeditXXXinstall/jar.
What am I doing wrong?
You need to specify the
jEdit crashed the JVM, what gives?
It's important to realise that java applications should never do this. The problem is almost certainly a bug in the JVM. Problems of this nature are often tricky to solve. Depending on your platform, there should be information logged about what caused the crash to occur. For Unix type systems you will likely get an error in the console (and for Mac OS X you may also get a report in ~/Library/Logs/CrashReporter/JavaApplicationStub.crash.log).
jEdit locks up or hangs while I'm doing lots of things!
Sometimes, it can be due to a deadlock, or an infinite loop, or something else. You need to obtain a thread dump from the time of hang, and attach that as a textfile to your bug report, explaining what you were doing at the time.
One way to obtain a thread dump, is to run jEdit
Another way to get a thread dump is to run jEdit as you normally would, then run visualvm. You can right click on the jEdit process from within visualvm and choose "thread dump".
I can't remember all these multiple-key shortcuts!
Install ShortcutDisplay plugin for help.
Why is jEdit so slow to start up?
Some plugins require a lot of setup - chances are if you disable one, you will be able to determine the culprit. jEdit normally starts up quite quickly without plugins.
You should be able to see which (if any) plugins are causing an excesively long delay.
Why is jEdit so slow?
There may be many causes for this. Java by nature is more demanding on hardware than native applications. Modern computers should not have much problem with this.
The most likely cause is plugins that parse buffers or do other computationally expensive operations. These include XML, JavaSideKick, and CodeAid. If performance is important to you, installing a whole batch of plugins in one go is probably not a very good idea. Install them one at a time, so you can evaluate the effects of each.
Go to left/top/bottom/right docking area does not work for some plugins?
The plugin is missing a
I'm trying to install jEdit on Linux, but I keep getting strange error messages.
Exception in thread "main" java.lang.UnsupportedClassVersionError: installer/Install (Unsupported major.minor version 49.0) Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
Make sure the version of Java you are running is Sun Java 1.6 or higher.
After installing jEdit on Linux, running the
Warning: JAVA_HOME environment variable not set
How can I fix this?
When I try to run
The JEditLauncher component does not appear to be installed.
The dialog presenting this message asks if you would
like to install the launcher. Select
When I try to run the jEdit installation package in Windows, I get an error message,
Error opening registration key "software\javasoft\java runtime environment".
How can I fix this?
The problem is not with jEdit but may be caused by
your installation of the Java runtime environment. Under
Windows, Sun's Java application loader relies on entries in
the Windows registry to find the files that create the
runtime environment and a Java virtual machine. The loader
When trying to install jEdit on Windows Me with an
MS-DOS prompt, after entering
You should confirm that you have a Java runtime
environment installed, which will include
When I run jEdit on Windows, it flashes, blinks, and doesn't display correctly! Why is your program so buggy?
A frequent cause of this problem is buggy video drivers and/or a buggy DirectDraw implementation. A workaround is to disable Java's use of DirectDraw by adding the following option to the Java virtual machine command line: