PDA

View Full Version : Eclipse problem



anafor2004
18th January 2008, 15:53
Hi All,
I have a problem with eclipse, I can't start it.Now I am developing a program , today i have opened it two times but after restaring my computer, i coundn't open it.
Do you have any suggestion?:confused:

katrina
18th January 2008, 16:47
Are you getting any error messages?
Try using the -vm option with the path to your java binary
eg:
./eclipse -vm /usr/lib/jvm/sun-java6/bin/java

anafor2004
18th January 2008, 17:11
I get this message from open suse console, It seems like XWindow System error.How can i fix it?


linux-zyll:/home/canibek/eclipse # ./eclipse -vm /usr/lib/jvm/java/bin/java
The program 'Eclipse' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
(Details: serial 1045 error_code 11 request_code 149 minor_code 5)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

This Error from Eclipse


JVM terminated. Exit code=1
/usr/lib/jvm/java-1.4.2-cacao-0.97/jre/bin/java
-Xms40m
-Xmx256m
-Dosgi.bundlefile.limit=100
-jar /home/canibek/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/canibek/eclipse/eclipse
-name Eclipse
--launcher.library /home/canibek/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.0.v 20070606/eclipse_1017a.so
-startup /home/canibek/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar
-exitdata 180007
-vm /usr/lib/jvm/java-1.4.2-cacao-0.97/jre/bin/java
-vmargs
-Xms40m
-Xmx256m
-Dosgi.bundlefile.limit=100
-jar /home/canibek/eclipse/plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar

katrina
18th January 2008, 17:20
My first thought would be try using a newer JVM, some components need 1.5 or higher. You will probably want to ask this is an Eclipse-dedicated forum though. Did you start getting this message after installing the Trolltech plugin, or after installing some other plugin?
I see something in that error message about "insufficient resources", you have enough RAM and your hard disk is not full right?

anafor2004
18th January 2008, 17:34
Today I was using eclipse all day , there was no problem, After my restart of opensuse, this problem occurred.My computer is very new , good enough for eclipse and there is no resource problem. I guess my O.S (Open Suse) always updating , this updates maybe source of this problem.If i can't solve this problem,Tomorrow i will install Debian.