jEdit Community - Resources for users of the jEdit Text Editor
jEdit vs Ubuntu 6.06
Submitted by imehesz on Wednesday, 14 June, 2006 - 22:23
Hello everybody,

I started to use jEdit about 3 months ago w/ windows. and i just love it... I tried to install it on my debian laptop but i got some error message during the installation and since that laptop is my "experiment" laptop I installed Ubuntu 6.06...

so finally, jEdit is up on my computer but it won't start... and when I try to launch it through command line, i get a nesty message saying:

GC Warning: Out of Memory! Returning NIL!
Exception in thread "main" GC Warning: Out of Memory! Returning NIL!
java.lang.NoClassDefFoundError: org.gjt.sp.jedit.jEdit
*** Got java.lang.OutOfMemoryError while trying to print stack trace.

Do you guys know what it is???

thanks
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Jedit on ubuntu 6.06
by clatta on Sun, 13/08/2006 - 02:01
Hi I found this solution from here http://www.cs.cornell.edu/~djm/ubuntu/ and you don't need to edit the jedit file.

sudo apt-get install sun-java5-jre sun-java5-plugin
sudo update-alternatives --config java

The second line will allow you to choose sun's java re out of the list and then all java calls will go via sun's jre





Interesting days www.mindyourdays.com
Install JEdit on ubuntu
by tig12 on Tue, 01/08/2006 - 09:23
To fix the "Out of Memory! Returning NIL!" error, I edited /usr/bin/jedit (which is a shell script),
and changed :
JAVA_HEAP_SIZE=32
by :
JAVA_HEAP_SIZE=128

JEdit still didn't work, and I had to comment the rest of the script, and write instead :
exec /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/bin/java -mx${JAVA_HEAP_SIZE}m ${JEDIT} -jar "/usr/share/jedit/jedit.jar" $@
java
by catfarm on Wed, 21/06/2006 - 03:25
if you havent already figured this out, ubuntu doesnt come with a real JRE and it is trying to run jedit with gjc (i think thats what its called)... anyways, i would recommend installing sun's JRE which you can do pretty easily by adding restricted to your repositories... there are plenty of tutorials on ubuntu's forums that explain how to get sun's jre installed.
User login
Browse archives
« September 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   96033
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   17480
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