Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » java: cairo-misc.c:380 Eclipse Dies Opening Files
java: cairo-misc.c:380 Eclipse Dies Opening Files [message #1814605] Fri, 13 September 2019 19:50 Go to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 268
Registered: May 2012
Senior Member
I've been stuck on Neon for a while at work because Oxygen builds would just immediately die on my for GTK errors. So I decided to go even newer. To my surprise - Photon and 2018-9 actually launch! But soon after, I can't even open Java files.

Searched the interwebs. Every single hit mentions adding the following lines to the eclipse.ini file - NONE of them work for me.

-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
-Dorg.eclipse.swt.internal.gtk.useCairo=false


Photon DIES
2018-8 DIES

Neon works - but I'd like to be more than 2 years out of date.

***WARNING: SWT requires Cairo 1.9.4 or newer
***WARNING: Detected: 1.8.8

I CAN'T install packages on company linux machines, so it's not like I can go upgrade packages on machines I'm not allowed to administrate.

What fixes this? none of the solutions I've found actually work.

Search the forum and got sent to the C/C++ with one hit. Weird.

Here's my GTK configuration information (see how those vmargs actually made it into my config?)

org.eclipse.swt.internal.gdk.backend=x11
org.eclipse.swt.internal.gtk.cairoGraphics=false
org.eclipse.swt.internal.gtk.theme=Slider
org.eclipse.swt.internal.gtk.useCairo=false
org.eclipse.swt.internal.gtk.version=2.24.23
Re: java: cairo-misc.c:380 Eclipse Dies Opening Files [message #1814609 is a reply to message #1814605] Fri, 13 September 2019 20:11 Go to previous messageGo to next message
Brandon Lewis is currently offline Brandon LewisFriend
Messages: 268
Registered: May 2012
Senior Member
Well FWIW, Oxygen.3 seems to work on my system. This might be the last version of Eclipse I can ever use without having a battle with IT support. That sux.
Re: java: cairo-misc.c:380 Eclipse Dies Opening Files [message #1814621 is a reply to message #1814609] Sat, 14 September 2019 03:57 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Support for GTK2 was dropped as of 2018-12:

https://www.eclipse.org/lists/cross-project-issues-dev/msg15785.html

I believe there were just too many problems with the 2.x support, perhaps the kind of problems you are seeing. It doesn't seem unreasonable that your IT support should provide support for a modern version of GTK; that will become necessary at some point...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse 2019-06 (Debugging)
Next Topic:Tomcat server is having trouble starting
Goto Forum:
  


Current Time: Tue Apr 23 13:18:47 GMT 2024

Powered by FUDForum. Page generated in 0.09307 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top