jEdit Community - Resources for users of the jEdit Text Editor
Trouble saving remote file via SFTP
Submitted by hommealone on Friday, 6 October, 2023 - 00:22
I'm having trouble saving edited remote files via FTP plugin. (I'm using SFTP.)

I get this error:
[jEdit Worker #3] [warning] VFS: Backup of remote file {file} failed, because there is no backup directory.

What does this mean?

I have already done this:
"A workaround is to disable two-stage save in the General pane of the Utilities>Global Options dialog box."

What troubleshooting steps can I take? Any suggestions on how to get it working?
Trouble saving remote file via SFTP
Submitted by hommealone on Friday, 6 October, 2023 - 00:22
I'm having trouble saving edited remote files via FTP plugin. (I'm using SFTP.)

I get this error:
[jEdit Worker #3] [warning] VFS: Backup of remote file {file} failed, because there is no backup directory.

What does this mean?

I have already done this:
"A workaround is to disable two-stage save in the General pane of the Utilities>Global Options dialog box."

What troubleshooting steps can I take? Any suggestions on how to get it working?
jEdit doesn't remember font sizes for the Help, File Browser windows
Submitted by jlturriff on Sunday, 19 June, 2022 - 09:32
When I set the font sizes for various components of jEdit, they are not remembered across quit/start of the editor. After I start the editor I have to go to Utilities => Global Options => Appearance and change the size setting of at least one of the fonts. After I set it back to my preferred size, that size is used once again to render Help and File Browser text.
Lucene plugin IllegalAccessException
Submitted by weberjn on Thursday, 24 March, 2022 - 10:04
If Lucene search does not work, and you have IllegalAccessException in activity log, add the start option

--add-exports java.base/jdk.internal.ref=ALL-UNNAMED

[jEdit Worker #2] [error] IndexImpl: Caused by: java.lang.IllegalAccessException: class org.apache.lucene.store.MMapDirectory$2$1 cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module @41cd6d9b
How to use ctags / CtagsInterface
Submitted by maurelioc on Tuesday, 12 January, 2021 - 17:21
Hi folks, I am trying to use CtagsInterface plugin in jEdit running on a MacOS machine.
ctags tool was installed using MacPorts and appears to be ok.
CtagsInterface plugin is installed and reports that the ctags is reachable in path ( I wrote the complete path).
Lucene and SuperAbbrevs plugins are also installed.
But ... it is not working.
jEdit version is 5.6 with OpenJDK 15.01.
jEdit is running fine and all plugins are the last versions available at plugin central or mirrors.
CtagsInterface appears to be running but no tag is available for searching.
I did not find any recent complain about it in google. Any clues?
Jedit mangling spaces
Submitted by mauricebis on Saturday, 15 February, 2020 - 17:25
Hello,

I just noticed that my Jedit version (5.5.0) on Ubuntu 18.04 is mangling all spaces ? Any idea? Thanks.

BTW, I tried to find a search box on the site but didn't see any, sorry to ask again if this issue has already been answered.
Where to store *.theme files?
Submitted by rovf on Tuesday, 9 July, 2019 - 12:08
I have a set of theme files (for instance swingthemes/Color/color1.theme). Where do I have to store them so that I can use them from jEdit?
jEdit < 5.4 broken by openjdk-7 update 7u181-2.6.14-0ubuntu0.2 (unbuntu 14.04)
Submitted by JohnS on Thursday, 16 August, 2018 - 22:41
Never posted here, but been using jEdit for probably 15+ years on linux systems.
Posted similar to this on the 'jedit-users' listserv - not clear whether these forums or the listservs are most appropriate so trying both.

This is on Ubuntu 14.04, which packages openjdk-7-jdk and jEdit 5.1.

On 2018-08-10 there was an upgrade of openjdk-7, specifically to 7u181-2.6.14-0ubuntu0.2, details here:
https://www.ubuntuupdates.org/package/core/trusty/main/updates/openjdk-7-jdk

This openjdk upgrade has broken jEdit - on my xubuntu 14.04 system at least. I was using jEdit as usual before the upgrade. After the upgrade, it fails to fully launch. The splash briefly appears, it runs through some of the launch steps, then vanishes. That's all. Output of running
$ jedit -log=1
...is pasted in below.

I've tried the following, with same results:
- uninstalled (complete purge) and reinstalled 5.1
- clean installs of each of 5.3, 5.2, 5.0, and 4.5.2

So whatever breaks in jEdit vs. the openjdk upgrade, is broken in all of those.
Nothing else I'm aware of in recent OS upgrades would affect jEdit.

I have another system with ubuntu 16.04 on it, which packages openjdk-8 and jEdit 5.3. That is fully updated package-wise and works fine.

Any other ideas for troubleshooting on this 14.04 system welcome.

I imagine upgrading this system to ubuntu 16.04 or higher would fix it but that is not something I can dive into just now...if there's no fix for my particular situation other than that I'll have to live without jEdit for a while.

I don't know if these older jEdit versions are being maintained vs. issues like this. If they are I'll submit a bug.

regards,
John S.


Log output follows...

------------------------------------

$ jedit -log=1
2:37:26 PM [main] [message] Log: When reporting bugs, please include the following information:
2:37:26 PM [main] [message] Log: java.version=1.7.0_181
2:37:26 PM [main] [message] Log: java.vm.version=24.181-b01
2:37:26 PM [main] [message] Log: java.vm.name=OpenJDK 64-Bit Server VM
2:37:26 PM [main] [message] Log: java.runtime.version=1.7.0_181-b01
2:37:26 PM [main] [message] Log: java.runtime.name=OpenJDK Runtime Environment
2:37:26 PM [main] [message] Log: java.vendor=Oracle Corporation
2:37:26 PM [main] [message] Log: java.compiler=null
2:37:26 PM [main] [message] Log: os.name=Linux
2:37:26 PM [main] [message] Log: os.version=3.13.0-155-generic
2:37:26 PM [main] [message] Log: os.arch=amd64
2:37:26 PM [main] [message] Log: user.home=/home/john
2:37:26 PM [main] [message] Log: java.home=/usr/lib/jvm/java-7-openjdk-amd64/jre
2:37:26 PM [main] [message] Log: java.class.path=/usr/share/jedit/jedit.jar
2:37:26 PM [main] [message] jEdit: starting with command line arguments: -log=1
2:37:26 PM [main] [notice] jEdit: An error occurred while connecting to the jEdit server instance.
2:37:26 PM [main] [notice] jEdit: This probably means that jEdit crashed and/or exited abnormally
2:37:26 PM [main] [notice] jEdit: the last time it was run.
2:37:26 PM [main] [notice] jEdit: If you don't know what this means, don't worry.
2:37:26 PM [main] [notice] jEdit: java.lang.IllegalArgumentException: Wrong port file format
2:37:26 PM [main] [notice] jEdit: at org.gjt.sp.jedit.jEdit.main(jEdit.java:310)
2:37:26 PM [main] [debug] jEdit: before splash screen activation:107 ms
2:37:26 PM [main] [debug] jEdit: after splash screen activation:306 ms
2:37:26 PM [main] [debug] MiscUtilities: Saving backup of file "/home/john/.jedit/activity.log" to "/home/john/.jedit/settings-backup/activity.log~1~"
2:37:26 PM [main] [notice] jEdit: jEdit version 5.1.0
2:37:26 PM [main] [message] jEdit: Settings directory is /home/john/.jedit
2:37:26 PM [main] [message] jEdit: jEdit home directory is /usr/share/jedit
2:37:26 PM [main] [debug] SplashScreen: init:39/226ms
2:37:26 PM [main] [debug] SplashScreen: init system properties:58/284ms
2:37:26 PM [main] [message] BeanShell: Beanshell Init
2:37:26 PM [main] [debug] SplashScreen: init beanshell:35/319ms
2:37:26 PM [main] [debug] SplashScreen: loading site properties:6/325ms
2:37:26 PM [main] [debug] SplashScreen: loading user properties:7/332ms
2:37:26 PM [main] [debug] GUIUtilities: Icon theme set to: tango
2:37:26 PM [main] [debug] GUIUtilities: Loading icon theme from: jeditresource:/org/gjt/sp/jedit/icons/themes/tango/
2:37:26 PM [main] [debug] SplashScreen: init GUI:9/341ms
$
--------------------
Jedit 5.4.0 - hi CPU usage when text is selected and windows put to back
Submitted by edinburger on Thursday, 24 May, 2018 - 12:10
I'm facing a strange behavior with Jedit 5.4.0

If I select some text in jedit, put another App in front of jedit then bring jedit back to the front by clicking on the jedit taskbar icon then Jedit (java process) starts consuming lots of CPU (up to 40% on a 2 core i5 system)
CPU utilization will only go down if I either click into the Jedit window or any of the Menu items.

disabling all Plugins did not help

I'm running Jedit under Win 10, java version "1.8.0_171"
Windows 7 Install problem: The installer will now try to quit a running instance of jEdit, when there is no running instance..
Submitted by JimParinisi on Tuesday, 4 July, 2017 - 23:04
I have been running jEdit 5.3 for about a 1.5 years with no significant problem. On 2017-07-03 I used it and it worked fine. On 2017-07-04, It would not start. jedit and javaw exe's were created, but jEdit window would not display. I uninstalled version 5.3 and tried to install version 5.4 and got this error:
The installer will now try to quit a running instance of jEdit.
Please save your work and exit jEdit for the installation to continue.
The installer hangs up at this point.
I did not have a running instance, but the installer thought that I had one. I am guessing that something went wrong with jEdit when I shutdown on the 3rd. Does anyone know how to tell windows 7 to get rid of this phantom instance of jEdit. I am using a backup version of jEdit 4.5.2 for the time being. So, I can continue with my work. I am guessing that this phantom instance also caused the jEdit 5.3 startup problem that I had before the uninstall.
(Windows) unable to release Ctrl+Alt+J hotkey for usage
Submitted by 1234ru on Wednesday, 24 May, 2017 - 19:21
Ctrl+Alt+J is bound to start jEdit when it is installed (which was pretty surprise by itself and was discovered accidentally). I need this combination for another program, so I went to "Start jEdit" shortcut's properties and reset the "Shortcut key" property to a blank value.
However, the hotkey still remains bound to starting jEdit (which happens when I press the keys), although the property of a shortcut is displayed as a blank value.

How can I get rid of it?
jEdit hangs when using multiple screens
Submitted by rursus on Friday, 21 April, 2017 - 12:17
Hi! Jedit version tested: 5.4.0 (compiled from source) Java version: java-1.8.0-openjdk-amd64 (Debian) I have tried to find any relevant info by googling, but I couldn't find any: * Whenever I run jedit on a single screen, there are no problems, and life is happy and the sun shining. * Whenever I run jedit on a computer using multiple screens, jedit cannot be started, or if it is already started before, and the second screen is attached afterwards, jedit refuses to open any new windows. When refusing to open any window, jedit says: 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: Exception in thread "AWT-EventQueue-1" 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: java.lang.IllegalArgumentException: Width (0) and height (0) must be non-zero 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.image.ReplicateScaleFilter.(ReplicateScaleFilter.java:102) ... 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at sun.awt.X11.XToolkit.createCustomCursor(XToolkit.java:1140) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.textarea.TextAreaPainter.addNotify(TextAreaPainter.java:181) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.Container.addNotify(Container.java:2773) ... 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at javax.swing.JComponent.addNotify(JComponent.java:4740) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.textarea.TextArea.addNotify(TextArea.java:4690) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.Container.addNotify(Container.java:2773) ... 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at java.awt.Window.pack(Window.java:807) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.jEdit.newView(jEdit.java:2617) 13:55:29 [AWT-EventQueue-1] [error] AWT-EventQueue-1: at org.gjt.sp.jedit.PerspectiveManager$PerspectiveHandler.endElement(PerspectiveManager.java:363) Which obviously means that when jEdit makes a newView, it obviously triggers a TextArea.addNotify which triggers a TextAreaPainter.addNotify, which somehow delivers a window with a size of 0,0. I'm inclined to hack this in my personal copy of jEdit, if possible. Anyone have an idea why this occurs?
samba share erroneous files changed on disk by external program
Submitted by xenthar on Tuesday, 20 December, 2016 - 12:32
I recently started using a samba share (I don't know what version) being mounted from Windows.

There is probably a slight second delay in the date Samba registers for the file and the date my Windows has, or something like that. But jEdit continuously says that something changed my file, when nothing happened.

Is this a bug with jEdit? Is this expected behaviour?
Jedit doesn't start - no error messages
Submitted by DocDJ on Wednesday, 9 September, 2015 - 13:27
My system is Windows 10 Pro X64. Yesterday, I did a Java update and now Jedit won't start. I downloaded a new version (so now I have 2: 1 in Program Files and 1 in program files (x86)). Neither one works (jedit.exe). I also tried javaw -jar jedit.jar from a command prompt inside the jedit directory. Same results: no error messages. Program does not show up in Task Manager although when I installed the newest version using the Windows installer it said it would try to stop a running copy (which I couldn't find). The version in progfiles (x86) was installed using the java installer. But if I have a wrong version of java, shouldn't I get an error message of "some" kind?
FTP plugin not displaying remote files, error message
Submitted by kristenannie on Monday, 3 August, 2015 - 19:05
I have used the FTP plugin for years to work on files remotely and now I get this error when I try to connect: java.lang.NoSuchMethodError: com.jcraft.jsch.Session.setConfig(Ljava/lang/String;Ljava/lang/String;)V at ftp.SFtpConnection.(SFtpConnection.java:136) at ftp.ConnectionManager.getConnection(ConnectionManager.java:524) at ftp.FtpVFS.getConnection(FtpVFS.java:529) at ftp.FtpVFS._canonPath(FtpVFS.java:199) at org.gjt.sp.jedit.browser.ListDirectoryBrowserTask._run(ListDirectoryBrowserTask.java:73) at org.gjt.sp.util.Task.run(Task.java:64) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) I am using Jedit 5.2 and jdk 8.51. All of this started happening after I upgraded my Mac to Yosemite and had to install Java 6 to keep an older version of Photoshop running. I uninstalled Java 6 after I upgraded my version of photoshop and installed Java 8, but the FTP plugin in Jedit has never worked the same since then and I am going crazy. Please help! Thanks Kristen
Ubuntu Trusty won't let me set Jedit as a default editor
Submitted by jeditcdnguy on Saturday, 27 December, 2014 - 21:14
It doesn't show up as an application in either 'open with'->'other Applications'

or

'properties->'open with'

Also, I can't browse for it.

Any ideas, please?
Jedit doesn't find my new Edit mode (SASS).
Submitted by kosmos890 on Thursday, 23 October, 2014 - 16:04
I am a linux user and Jedit finds my Edit mode if only I run it as root.

I downloaded sass.xml from here and I put it into /usr/share/jedit/modes directory.
I add the node <MODE NAME="sass" FILE="sass.xml" FILE_NAME_GLOB="*.sass"/> into the file "catalog" inside the same folder.
I did the same into the /home/<user>/.jedit directory.

All plugins into this directory (user directory) works.
How to adjust font size in jEdit Help for the API reference
Submitted by MarkTJohnson on Monday, 21 April, 2014 - 16:00
The text for the API reference has always been small but after installing 5.1 the text has become microscopic, like spy story microdot small.

How can I enlarge it enough to read?
jEdit Modes: Am I using at_word_start right?
Submitted by hurricanedavid on Wednesday, 2 April, 2014 - 16:50
I have a basic edit mode I'm creating and I want to make words bold when they have asterisks around them. This does it, but I'd rather have it work only if the * is right next to a word. The docs seem to say I can do it this way.

< SPAN TYPE="KEYWORD1" NO_LINE_BREAK="TRUE" AT_WORD_START="TRUE" >
< BEGIN >*< /BEGIN >
< END >*< /END >
< /SPAN >

In other words, I want *this to be bold*
But * this should not be bold *
Right now, both are getting bolded.

Thanks!
New Edit Mode Not Being Applied/Used
Submitted by hurricanedavid on Thursday, 27 March, 2014 - 14:49
I created an edit mode and added an entry for it in the catalog: I can apply the mode manually through the buffer options, but it doesn't get used automatically. the file I want it to work on is a *.txt file. Could my new mode not be working because the txt one is being used?
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293