LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Cannot launch jEdit on Fedora (https://www.linuxquestions.org/questions/linux-software-2/cannot-launch-jedit-on-fedora-342455/)

julz_51 07-12-2005 09:46 AM

Cannot launch jEdit on Fedora
 
After installing Java sdk 1.4.2 on my Fedora Core 4 i386, I installed jEdit from JPackage with yum. I can't launch the application and I get the following error :

Code:

GC Warning: Out of Memory!  Returning NIL!
Exception in thread "main" GC Warning: Out of Memory!  Returning NIL!
GC Warning: Out of Memory!  Returning NIL!
*** Catastrophic failure while handling uncaught exception.

My computer is a laptop with Celeron 2,0 GHz and 256 MB Ram (64 shared).

Apart from some hardware problems, windows and other linux software work fine.

Thanks for your help.

Half_Elf 07-12-2005 02:23 PM

Maybe YUM installed too much plugins. Jedit use an arguement to minimize the amount of memory it uses for java. Find Jedit executable on your system ( whereis jedit ), then open it with your favorite text editor. If I remember right, it should be a shell script calling some kind of java .class. There should already have a flag "-m" in that script, just increase the number ( 128 should be enought).

julz_51 07-13-2005 03:35 AM

Thanks, now I can launch it, but it still does'nt work. I get the splash screen, then the window, but it's empty.

Here are some error messages in the terminal :

Code:

[error] AWT-EventQueue-5:    at java.awt.event.InvocationEvent.dispatch() (/usr/lib/libgcj.so.6.0
[error] AWT-EventQueue-5: .0)
[error] AWT-EventQueue-5:    at java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) (/usr/lib/libgcj.so.6.0.0)
[error] AWT-EventQueue-5:    at java
[error] AWT-EventQueue-5: .awt.EventDispatchThread.run() (/usr/lib/libgcj.so.6.0.0)
[error] AWT-EventQueue-5:    at .GC_start_routine (/usr/lib/libgcj.s
[error] AWT-EventQueue-5: o.6.0.0)
[error] AWT-EventQueue-5:    at .__clone (/lib/libc-2.3.5.so)

Any idea ?

Hommel 07-26-2005 06:26 PM

Hi,

I had the same problem with FC4 and fixed it with the tip from the first reply. Additional I installed the current issue of suns java in /opt/ and set the pathvariable to this directory. I hope this will work for you, too.


All times are GMT -5. The time now is 04:15 AM.