jEdit Community - Resources for users of the jEdit Text Editor
JIndex Problem
Submitted by Anonymous on Thursday, 29 January, 2004 - 13:50
I am having no luck in configuring JIndex 1.1.
I am mixing the IBM 1.4.1 JDK src.zip and the Sun 1.4.1 SDK documentation. There appear to be no error messages so I don't know what I'm doing wrong.

It might be that JIndex will only work with SDK 1.3???

Any suggestions gratefully received.

Thanks,

George Seaton
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
JIndex
by Anonymous on Fri, 30/01/2004 - 16:13
In the meantime I've sorted this out myself.
Thanks for looking.....
 
JIndex and Out of Memory Error
by takahe on Tue, 16/03/2004 - 16:13
It would be interesting to know what your problem was and how you fixed it. Primarily because I too had a problem while trying to jindex the java api docs.

Anyway, I'm using JEdit 4.2pre9 and JIndex 1.1

I worked out my problem by using:

(1)Utilities-Trouble shooting-I/O Progress Monitor
and
(2)Utilities-Trouble shooting-Activity Log

(1) This showed me that it was indeed processing the .jar files I had specified

(2) This showed me the error: out of memory! It fails silently in the gui, but fortunately it gets logged to the activity log.

Anyway, my resolution was to run jedinit.exe and increase the amount of memory available to the jvm:

I set the "command line options for java application loader" to:
-mx128m -DJAVA_HOME=C:\j2sdk1.4.2_03 -jar

(where -mx128m makes up to 128MB available, up from the 32, or something that it defaulted to. Now it indexes fine).

Incidentally, in case its helpful, I am using a LAN connection, so I am indexing via the sun website:
Library: c:\j2sdk1.4.2_03\jre\lib\rt.jar
Url: http://java.sun.com/j2se/1.4.2/docs/api/

I have also got it working by downloading and expanding the sdk docs so that they appear in
c:\j2sdk1.4.2_03\docs\api

Specifying the url as:

file:/C:/j2sdk1.4.2_03/docs/api/

also worked for me Smiling

Note the single / preceeding the drive letter, and also note that only forward slashes / are used.

I definitely recommend viewing the I/O Progress Monitor while its building the index, as you know when its finished...
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