jEdit Community - Resources for users of the jEdit Text Editor
linux jedit & java help!!
Submitted by tflex on Wednesday, 29 March, 2006 - 23:24
Hi,
I am using Ubuntu Linux (Latest Stable Core). I installed java software development kit from sun and now it is time to configure jedit. I got all the plugins needed for developing java applications and it seems to be working fine as well. Everything compiles fine but doesn't run fine. If I make helloWorld application in java using jedit, that works fine and displays the correct result but if I try to use joptionpane like JOptionPane.showMessageDialog (null, "Hello World!"); then I get following error message in jedit console screen. Also the code I used has no errors (It has been compiled before in windows).

** ERROR **: file ../../../src/libjava/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: line 572 (createRawData): assertion failed: (data_fid != 0)
aborting...
Process java exited with code 134

I'm unable to find out why this happens as I'm new to linux. Please any help appreciated.
N.B: Sorry for double posting, but this post belongs to troubleshooting.
Cannot type in save dialog
Submitted by scaRFhogg on Wednesday, 15 March, 2006 - 21:36
Sometimes i cannot type in the "File name" field of the save or save as dialog. Selecting text in the field with the mouse does work. But the input field acts as if it was in "read only" mode. Jedit does not give any error message/exception. Also nothing in the activity log. Restarting jedit usually fixes the problem for the next few saves. This is very annoying.

I'm running jedit 4.3pre3 with java jre 1.5.0_05 on kubuntu breezy badger.

Any suggestions on how to fix this problem appreciated.
Thank you.
ConsolePlugin: marks errors on the wrong line (when compiling or running make)
Submitted by DanielKabs on Monday, 13 March, 2006 - 11:46
I recently installed JEdit 4.3pre3 and of course the important ConsolePlugin. Together with ErrorListPlugin, compiling my C/C++ programs works like a charm. Except for one point: sometimes when running make console marks the wrong lines. E.g. the output looks like:
mkformular.c: In function `add_elementlist':
mkformular.c:994: warning: int format, long unsigned int arg (arg 4)
mkformular.c:994: warning: int format, long int arg (arg 5)
mkformular.c:1007: warning: int format, long int arg (arg 4)
Updating version number in version.c
Compiler Run #2343
Consequently, ErrorListPlugin only mentions two of these three warnings. I don't know whether ErrorList has a problem as with having multiple warnings occuring on the same line. Anyway, if I paste this output into the Test Area on Plugin Options > Console > Error Patterns pane of the Generic error pattern it correctly extracts and displays all three warnings. My problem now is:
  • Why does the test show ok, but the real output not?
  • Why does error parsing not work at all when I copy the above text to a file an then run cat file on the console?
Cheers Daniel from Germany
OS-X "open" command suddenly stopped working with jEdit
Submitted by patb on Tuesday, 7 March, 2006 - 14:31
Help please! I've enjoyed using jEdit under OS-X but I suddently cannot open files from the command line and I don't know how to troubleshoot this.

For months I've been using this csh alias to open files in jEdit from the command line:

je: aliased to open -a ~/Applications/jEdit\ 4.2/jEdit.app !*

For example:
csh: je junk.txt

This suddenly stopped working. jEdit will start but will not load the specified file. Of course our system adminstrator installs software updates from Apple all the time, but I can't tell whether this is a failure of Apple's "open" command or a failure of jEdit. Has anyone else seen this problem?


If I explicitly run the jEdit executable like this:

~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub junk.txt

then it mistakenly starts a NEW file named junk.txt in the jEdit install directory.

Only if I give the full path to the existing file will it open it:

~/Applications/jEdit\ 4.2/jEdit.app/Contents/MacOS/JavaApplicationStub ~/junk.txt

Any help is much appreciated.
Patrick Broos
Astronomy Department
Penn State University
History file no longer updated but other settings files are
Submitted by John Jameson on Saturday, 4 March, 2006 - 16:49
File ~/.jedit/history is no longer being updated between sessions, though it is still read at startup.

Permissions are OK, and other settings files (eg activity.log) _are_ being updated OK.

Any advice/suggestions appreciated!

Version: 4.2final, MacOSX 10.4.5, java 1.4.2_09

Plugins:

BufferTabs.jar
Clipper.jar
CodeBrowser.jar
ColumnRuler.jar
CommonControls.jar
Console.jar
CssEditor.jar
CssValidator.jar
ErrorList.jar
FTP.jar
JCounter.jar
JDiffPlugin.jar
JakartaCommons.jar
Jump.jar
PHPParser.jar
ProjectViewer.jar
RETest.jar
SideKick.jar
TaskList.jar
TextFilter.jar
WhiteSpace.jar
XML.jar
XSLT.jar
XmlIndenter.jar
bcel.jar
commons-codec-1.3.jar
commons-collections.jar
commons-httpclient-2.0.1.jar
commons-lang-2.0.jar
commons-logging.jar
htmlparser.jar
j2ssh-common.jar
j2ssh-core.jar
jEditCvs.jar
kappalayout.jar
log4j.jar
xalan.jar
xercesImpl.jar
xml-commons-resolver.jar
xmlParserAPIs.jar
xmlrpc-2.0.1.jar
Archive/JavaInsight under jEdit 4.3pre3
Submitted by webengr on Wednesday, 15 February, 2006 - 18:47
Greetings,

I am a longtime jEdit fan, and I recently decided to move from 4.2 to 4.3pre3. Today I needed to look at some Java code that I did not have the source files for, and found that it would not work. I used the "Archive" plugin to browse a jar file, and "JavaInsight" to do a jode-decompile. This latter operation errored out. I had prviously updated all of the plugins that needed to be upgraded, but Archive and JavaInsight were not on the list. Details are included below. Thanks!

Phil Shanks

System info:
IBM Thinkpad T41, 1G RAM; Windows 2000SP4; Sun Microsystems Java JDK 1.5.0_06

Stack trace:

Error in method invocation: Static method handleBrowserAction( org.gjt.sp.jedit.View, [Lorg.gjt.sp.jedit.io.VFSFile;, java.lang.String ) not found in class'javainsight.ByteCodeVFS' : at Line: 4 : in file: inline evaluation of: ``__internal_action_vfs_jode(ns) { this.callstack.set(0,ns); javainsight.ByteC . . . '' : javainsight .ByteCodeVFS .handleBrowserAction ( view , files , javainsight .JodeVFS .PROTOCOL )

at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:76)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
at bsh.BSHBlock.eval(BSHBlock.java:80)
at bsh.BshMethod.invokeImpl(BshMethod.java:349)
at bsh.BshMethod.invoke(BshMethod.java:246)
at bsh.BshMethod.invoke(BshMethod.java:171)
at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:507)
at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
at org.gjt.sp.jedit.browser.VFSBrowser$BrowserActionContext.invokeAction(VFSBrowser.java:1677)
at org.gjt.sp.jedit.EditAction$Wrapper.actionPerformed(EditAction.java:216)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
FTP Plugin - keep-alive support
Submitted by uzo on Tuesday, 14 February, 2006 - 07:14
is there some way to set the plugin to keep the connection alive (sending NOOP)? i couldnt find it. does some later version support this (using 4.2stable)?

thnx
I cannot use LookAndFeel
Submitted by Stun on Friday, 10 February, 2006 - 02:35
I use jEdit 4.3 pre3 Version. But I cannot use plugin that LookAndFeel.
Plz help me!

--Error Code--
Cannot start java.lang.UnsupportedClassVersionError: lookandfeel/LookAndFeelPlugin (Unsupported major.minor version 49.0)
Try updating to a newer version of the plugin.

--My SDK Spec--
J2SDK 5.0
Encoding in jEdit Console (way to change it?)
Submitted by Ced-le-pingouin on Friday, 3 February, 2006 - 14:10
Hi,

This is my first post here, but I'm a long time jEdit user. What a great piece of software! Thanks to its many authors and contributers Smiling

The problem:
When I use the Console in System mode to execute commands, the output of these commands has its accents and other extended characters replaced by squares. I'm under Windows XP Pro, French. The output of the commands is in french.
Under "standard" dos box in WinXP, I sometimes have to change the codepage to 1252 ("Windows" Latin 1) or UTF-8 (cp 65001) and choose the correct font to get readable output.

But changing the codepage under the jEdit console is useless, since it is done by the chcp command, and every Console command is executed in its own "shell", so any previous codepage change is not reflected on subsequent commands.

It seems the default encoding for the executed commands is 850, but that doesn't match the display in the jEdit Console (is it UTF-8 ?).

Is there a way to change the encoding of the Console ?
Or am I wrong about the cause of this problem? Is there a solution?

Thanks.
Ced
Xlib connection refused by server/jedit won't start
Submitted by sunking on Thursday, 2 February, 2006 - 20:39
I instaled jedit using the Slackware package,install went fine,
but when I type jedit in xterm I get: Xlib connection error plus others.
Xlib no protocol specified
Using Slack 10.2
jdk-1_5_0_06

I also did a local install in my home folder using the defualt jedit4.2 installer.
that runs fine using java -jar jedit.jar, but it's a real pain to 'cd' into my
home folder to run.
javac not found
Submitted by kiz78 on Tuesday, 31 January, 2006 - 18:16
I get the error message below from the console when I try to compile a buffer. I can't find a way of telling jEdit where javac is! I'm sure it's very funny if you know where but please help I've wasted hours looking on the forums for advice. Plugins > Console > Commando... Doesn't have a drop down list as descibed in one forum answer I read.

I have jEdit 4.2final and jdk 1.5.0 update 2
I can't believe I can't just tell jEdit where to find javac wherever it may be in my filing system. Help, please!

List->Error List'
window.
C:\Program Files\jEdit 4.2>
C:\Program Files\jEdit 4.2> javac -classpath "$CLASSPATH;C:\Program Files\Java\projects" -sourcepath "C:\Program Files\Java\projects" -nowarn -encoding Cp1252 "C:\Program Files\Java\projects\CalcApplication2.java"
Error while running process: java.lang.Exception: Command not found: javac
C:\Program Files\jEdit 4.2>
OS X 10.4 + Java5 + jEdit with proper menus
Submitted by squindler on Monday, 30 January, 2006 - 23:19
Apologies is this has been answered elsewhere - googling and searching this site I'm yet to find a solution.

Is it possible to get jEdit to have its menus in the OS X menu bar in OS X 10.4 using Java5 with the universtal installer of jEdit - ie so I can run pre builds etc ... I've tried using the jEdit.app launcher from 4.2 final, also tried the jEditMenuFixer.app.

Anyone been able to get this to work?
Highlighter-plugin is always enabled at startup
Submitted by Robert Schwenn on Monday, 30 January, 2006 - 21:22
Hi all, I want the highlighter-plugin to be disabled after jEdit's startup because it slow's down jEdit. Unfortunately the plugin doesn't remembers it's On/Off-status. That's why I took the following macro in the startup directory to disable highlighter:

gatchan.highlight.HighlightPlugin.disableHighlights();
Log.log(Log.MESSAGE,scriptPath,"Startup_2.bsh: Highlighter disabled");

The macro seems to do it's work at startup (no error, a message in activity.log), but when jEdit is started completely, the highlighter is enabled!
What to do?

Robert

$ character unavailable
Submitted by mole on Monday, 30 January, 2006 - 09:57
I'm using 4.3pre 3 (4.3pre 2 has the same behavior, none other tested) on SUSE10.0. While typing in system, all is OK. In JEDIT I can't write character $.
Trying to define new keyboard shortcut nothing appears after typing AltGr + key.
Have Czech keyboard, where needed key is neat key L; so keys are from left to right:
JKL$
This is JKL; on us keyboard (all letters are capitalized - to prevent confusion letter l and number 1)
On czech keyboard us key ; is mapped onto UNICODE 01F6 - LATIN SMALL LETTER U WITH RING ABOVE ( http://www.unicode.org/charts/PDF/U0100.pdf )
It seems, that only this key is eated by JEDIT ???????????

Thanks Mike
Unicode weirdness on windows?
Submitted by ferrix on Monday, 30 January, 2006 - 06:16
This may be a setting I need to find, but could anyone enlighten me? I can open a unicode file on Windows (little-endian, saved as an export from regedit.exe). When I save the file it seems to shift it to big-endian. This makes it incompatible with regedit for importing purposes.

Is there any way I can get jEdit to keep the endian-ness or at least tell it which way I prefer the file to be saved?

I'm using 4.2final.

Thanks in advance for any assistance!
Greg
JavaDebugger not working
Submitted by Steve Marjoribanks on Sunday, 29 January, 2006 - 16:06
Whenever I try to load JavaDebugger (v1.4) it keeps on coming up with an error saying that I need to install JDK 1.3 or later but I have JDK 1.5 on my computer and I thought I had set the JavaDebugger up correctly so does anyone have any idea what might be going wrong? I have tried deleting and reinstalling both the Javacore and JavaDebugger plugins with no success.
Thanks

Steve
Docker Plugin 0.3 - Options Not Available
Submitted by andrewl on Thursday, 26 January, 2006 - 22:06
Options for the Docker plugin (version 0.3) are not showing up in the Plugin Options window. The plugin itself is getting loaded, as it is showing up in the Shortcuts Options window (you can set a shortcut for Bottom Dock Popup, Left Dock Popup, Right Dock Popup, Toggle Docks, Top Dock Popup). But the option to over-ride autohiding for certain plugins, for instance, is nowhere to be found. The Plugin Options window shows ...Column Ruler, Console, Editor Scheme, etc. No Docker.

This is jEdit 4.2 Final on Windows XP. Unfortunately, I don't know what changes might have caused this, as I haven't looked for the Docker plugin's options for about six months, during which time I have certainly installed, and uninstalled, other plugins. The latest change is the addition of the Ruby plugin. Removing it and the jruby.jar and restarting does not fix the problem.
PHP Docblocks handle HTML and code poorly
Submitted by headzoo on Wednesday, 25 January, 2006 - 17:20
Howdy,
I'm not sure if this is a bug or if it's something that can be fixed in the php.xml file. I use Docblock comments in my code, and because I use PhpDocumentor to create the documentation for the scripts, I use bits of HTML and example PHP code in the docblock. JEdit seems to choke on those. An example:

/**
* Just some function
*
* Usage:
*
* $a = justSomeFunction();
*

*/

JEdit tries to treat the HTML and code like regular HTML and code instead of treating it like plain text, which it should since it's inside a comment block.
Is there a file somewhere I can hack to fix this?

- Sean
Problem typing '>' character
Submitted by hall_simon on Wednesday, 25 January, 2006 - 01:35
I'm using 4.3pre 3 on xp with jre 1.5.0_06-b05. Everytime I type the '>' character (which in XML is quite a bit!!) a BeanShell error dialog pops up with the following error. Anybody know whats going on here?
java.lang.NoSuchMethodError: org.gjt.sp.jedit.textarea.JEditTextArea.getBuffer()Lorg/gjt/sp/jedit/Buffer;
	at xml.XmlPlugin.isDelegated(Unknown Source)
	at xml.XmlActions.insertClosingTagKeyTyped(Unknown Source)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at bsh.Reflect.invokeOnMethod(Reflect.java:149)
	at bsh.Reflect.invokeStaticMethod(Reflect.java:100)
	at bsh.Name.invokeMethod(Name.java:872)
	at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:72)
	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
	at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
	at bsh.BSHBlock.evalBlock(BSHBlock.java:130)
	at bsh.BSHBlock.eval(BSHBlock.java:80)
	at bsh.BshMethod.invokeImpl(BshMethod.java:349)
	at bsh.BshMethod.invoke(BshMethod.java:246)
	at bsh.BshMethod.invoke(BshMethod.java:171)
	at org.gjt.sp.jedit.BeanShell.runCachedBlock(BeanShell.java:507)
	at org.gjt.sp.jedit.BeanShellAction.invoke(BeanShellAction.java:76)
	at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:229)
	at org.gjt.sp.jedit.gui.InputHandler.invokeAction(InputHandler.java:195)
	at org.gjt.sp.jedit.gui.DefaultInputHandler.handleKey(DefaultInputHandler.java:362)
	at org.gjt.sp.jedit.View.processKeyEvent(View.java:616)
	at org.gjt.sp.jedit.textarea.JEditTextArea.processKeyEvent(JEditTextArea.java:4579)
	at java.awt.Component.processEvent(Component.java:5265)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1810)
	at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:672)
	at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:920)
	at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:798)
	at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:636)
	at java.awt.Component.dispatchEventImpl(Component.java:3841)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Jedit can't use the network (but everything else can)
Submitted by usernamenumber on Tuesday, 24 January, 2006 - 17:20
Hey folks. I just installed the latest jedit via the java installer on Red Hat Enterprise Linux 4 with j2re-1.4.2. Jedit starts fine, but when I try to install a plugin it complains about having no route to host even though the system definitely has net access. Does this sound familiar to anyone?
User login
Browse archives
« September 2025  
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   111393
Context Free Art (*.cfdg)   0.31   46075
BBEdit scheme   1.0   18610
JBuilder scheme   .001   18511
ColdFusion scheme   1.0   18044
R Edit Mode - extensive version   0.1   17493
Advanced HTML edit mode   1.0   16227
Matlab Edit Mode   1.0   16091
jEdit XP icons   1.0   15248
XP icons for jEdit   1.1   14312