jEdit Community - Resources for users of the jEdit Text Editor
Exceedingly slow to start
Submitted by Eric Inazaki on Thursday, 29 January, 2009 - 17:50
I'm trying out jedit 4.2final on OpenSUSE 10.3 and jedit takes forever to start (maybe tens of minutes). It looks like I've tried it with the java 1.5 and 1.6 runtimes
(1.5 initially, 1.6 currently based on running "java -version").

Also the one time I actually did anything with jedit I noticed the help was very unresponsive.

It seems to do okay on XP and OS X so I'm not quite ready to pitch it. But I think jedit is going to be a mostly linux app, for me.

Does anyone have any ideas as to what's going wrong (and how to fix it) or what I should do next to try to figure out this problem?

Also, is there a way to search these forums?

TIA
eric

PS I just started jedit ten minutes ago and I still haven't got past the splash screen. I think this is typical behavior (usually, I'll give it a (one) minute to start then kill it if it hasn't. I've done a lot of killing with jedit).
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Exceedingly slow to start - XP sp3
by rsampsonpcss on Wed, 04/02/2009 - 14:21
I have the same exact problem with my Windows XP (sp3) install. It was working just fine, now the splash screen comes up and gets to "run startup scripts" then just hangs there.

Can't get to the logbut:
jedit 4.3 pre16
java Version 1.5.0 (build 1.5.0_09-b03)
 
Same questions as before.
by elberry on Thu, 05/02/2009 - 19:10
Same questions as before.

Do you have any plugins installed? or is it a vanilla install?

You can still get to the log by opening it up in another text editor. Just open ~/.jedit/activity.log.

Hopefully you'll see some exception there.

Also have you tried - as Robert suggested - (re)moving your settings directory?

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
Resolved it, thanks
by rsampsonpcss on Wed, 11/02/2009 - 18:00
Renamed the file so the buffer load would fail was able to CTRL+W it. File was re-created much larger than was opened in Jedit previously.
 
Activity log info
by rsampsonpcss on Wed, 11/02/2009 - 17:25
Yes I have some plugins installed. Listed below.
Tried to delete the settings directory but there was no folder "Settings", there was a settings-backup folder with a number of files starting with ~. I added an empty settings folder, but it did not help. Can I start jedit without loading the buffers? Appears to be an issue with encoding also one of the buffers may be large.

11/01/2006 04:19 PM 34,897 ColumnRuler.jar
03/21/2007 08:46 AM 221,340 CommonControls.jar
10/08/2006 09:54 AM 412,842 Console.jar
09/26/2006 10:34 PM 43,073 ErrorList.jar
06/23/2003 03:17 PM 23,255 HexEdit.jar
08/26/2008 06:37 PM 883,859 JDiffPlugin.jar
03/21/2007 08:46 AM 11,665 kappalayout.jar
11/16/2008 03:44 PM 2,689 LatestVersion.jar
11/16/2008 03:44 PM 12,695 QuickNotepad.jar

Finally found the Activity.log, in Windows XP (for my install) it is located under C:\Documents and Settings\user\.jedit The error messages are:
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: The file could not be loaded correctly (some data might be lost) with
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: the encoding "Cp1252".
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: (java.nio.charset.MalformedInputException: Input length = 1)
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: Try selecting a different encoding.
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: It can be selected with the menu File->Reload with Encoding.
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: If you want it to be done automatically, add the candidates into
11:58:46 AM [AWT-EventQueue-0] [error] ErrorListDialog$ErrorEntry: "List of fallback encodings" in Encodings pane of Global Options.
11:59:00 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: Exception in thread "AWT-EventQueue-0"
11:59:00 AM [AWT-EventQueue-0] [error] AWT-EventQueue-0: java.lang.OutOfMemoryError: Java heap space
Well that's just odd
by Eric Inazaki on Fri, 30/01/2009 - 17:06
By accident, I found that, when jedit is starting up, if I resize the splash screen it seems to goose the program along and it starts fairly quickly (seconds rather than many minutes). This trick seems to work reliably too.
Just to make sure. You are us
by elberry on Thu, 29/01/2009 - 21:46
Just to make sure. You are using the Sun JDK right?

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
Beats me. Maybe not, ps repo
by Eric Inazaki on Thu, 29/01/2009 - 22:07
Beats me. Maybe not, ps reports something called cacao. I've installed Java-1_6_0-sun and Java-1_5_0-sun runtimes.
java -version reports:
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode)

I'm guessing the JDK isn't the same as the runtime environment?
Also, my Package Selector tells me I have java-1_4_2-cacao-devel installed.

I think this line of inquiry might pay off.

Thanks,
eric
 
I believe your Java version i
by elberry on Fri, 30/01/2009 - 00:23
I believe your Java version is the Sun one, so I don't think that is the issue.

When you say you've installed Java-1_6_0-sun, do you mean, you installed it manually? Using the .bin files? And are therefore setting the which Java you are using through environment variables and *nix aliases?

Or, did you install them through the package selector?

Above that though, do you have any plugins installed? or is it a vanilla installation of jEdit?

Have you tried the latest development version of jEdit (4.3pre16). There were a lot of improvements made since 4.2final, and it is really quite stable.

If you don't want to try that, please try launching jEdit manually from the command line.

Navigate into the jEdit installation directory, and type "java -jar jedit.jar".

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
Box stock, fire and forget
by Eric Inazaki on Fri, 30/01/2009 - 01:24
Everything was done either from the initial SUSE install or through the Package Selector (add software tool). I did try installing jedit from the kit downloaded from jedit.org but the present version was done through Package Selector too.

Re: plugins, vanilla.

Maybe I'll give 4.3 a try, couldn't be any worse.

Where is jedit typically installed?

Thanks,
eric
 
Not sure on SUSE. Do a "wh
by elberry on Fri, 30/01/2009 - 17:39
Not sure on SUSE.

Do a "which jedit" to see where the executable is. The shell script should point you to where jEdit was actually installed.

Re: Re: plugins, vanilla - So do you have any plugins installed? Or is it a fresh install without any plugins?

Yeah, definitely give 4.3 a try, I'm thinking you'll have better performance with it.

Learn from the past. Live in the present. Plan for the future.
11101000
Blog
 
About G/D time
by Eric Inazaki on Fri, 30/01/2009 - 20:33
No plugins except what comes with the jedit installer (if any).

Actually, I think it's mostly fixed. I did some poking around and, I'm not sure, but it looked like I had too many javas installed. It sort of looked like I had cacao and gcc jdks running plus 1.4 and 1.5 JREs. What I did was remove the gcc and cacao, and installed a Sun(TM) 1.6 jdk (though I can't seem to find javac, oh well).

Jedit (4.2 and 4.3) now seems mostly happy.

Too damn many javas out there. Maybe I'll get it figured out some day.

Thanks for the help.
eric
i/o operation?
by Robert Schwenn on Thu, 29/01/2009 - 21:21
I guess that such delays could be caused by i/o operations. Maybe jEdit wants to open files at startup via a slow network or ftp?

Please try to delete (or rename) Your jEdit's settings directory, but first shutdown jEdit.

Robert
 
i/o operation?
by Eric Inazaki on Thu, 29/01/2009 - 22:11
I hope not. As far as I know everything is local. By jedit settings directory, do you mean ~/.jedit or something else?

Thanks,
eric
 
Yes
by Robert Schwenn on Fri, 30/01/2009 - 20:27
Yes, ~/.jedit.

Regarding the Java version:
To be sure, witch Java is used by jEdit, please take a look at the Activity Log (via "Utilities -> Troubleshooting -> Activity Log" or open the file ~/.jedit/activity.log). Look for lines like these:

20:52:09 [main] [message] Log: java.version=1.6.0_11
20:52:09 [main] [message] Log: java.vm.version=11.0-b16
20:52:09 [main] [message] Log: java.runtime.version=1.6.0_11-b03
20:52:09 [main] [message] Log: java.vendor=Sun Microsystems Inc.

Robert
User login
Browse archives
« August 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
31
 
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   95567
Context Free Art (*.cfdg)   0.31   46061
BBEdit scheme   1.0   18600
JBuilder scheme   .001   18501
ColdFusion scheme   1.0   18030
R Edit Mode - extensive version   0.1   17479
Advanced HTML edit mode   1.0   16212
Matlab Edit Mode   1.0   16074
jEdit XP icons   1.0   15235
XP icons for jEdit   1.1   14299