Results 1 to 5 of 5

Thread: Eclipse problem

  1. #1
    Join Date
    Jan 2008
    Posts
    91
    Thanks
    8

    Unhappy Eclipse problem

    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?

  2. #2
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Red face Re: Eclipse problem

    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
    Katrina Niolet

  3. #3
    Join Date
    Jan 2008
    Posts
    91
    Thanks
    8

    Default Re: Eclipse problem

    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
    Last edited by jpn; 18th January 2008 at 16:26. Reason: missing [quote] tags

  4. #4
    Join Date
    Jan 2006
    Location
    Berlin, Germany
    Posts
    64
    Thanks
    1
    Thanked 4 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Eclipse problem

    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?
    Katrina Niolet

  5. #5
    Join Date
    Jan 2008
    Posts
    91
    Thanks
    8

    Default Re: Eclipse problem

    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.

Similar Threads

  1. Replies: 7
    Last Post: 22nd December 2010, 08:13
  2. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  3. Debug problem in Eclipse with qrc file
    By Vortex in forum General Programming
    Replies: 6
    Last Post: 27th December 2007, 00:56
  4. Howto use Eclipse with QT4 in 10 steps
    By the_bis in forum Newbie
    Replies: 3
    Last Post: 28th January 2007, 20:21
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.