Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » [solved] Eclipse (Linux) force GTK2
[solved] Eclipse (Linux) force GTK2 [message #1711538] Fri, 16 October 2015 19:25 Go to next message
Timo Breihals is currently offline Timo BreihalsFriend
Messages: 2
Registered: October 2015
Junior Member
Hello,

I can't find anything on the internet, so I hope I'll get the answer here.

I am using Archlinux with Linux 4.2.3-1 and recently updated to gtk3 3.18.2-1. I was developing on Eclipse Mars 1 Version 4.5.1. So pretty much on the edge of stable I think. I recently started developing with a wildfly Server. After updating my OS, Eclipse failed and wasn't able to be executed properly.

  • Properties Pane couldn't be opened
  • Eclipse can't add Servers (hangs)
  • Significant Marketplace-performance problems

So I have now purged GTK3 with all it's dependencies..... (so alot of my everyday applications). Nevertheless I've GTK2 installed where Eclipse runs flawlessly. So my question is: Can Eclipse be configured to use GTK2 on purpose?

Greetings Timo.

[Updated on: Sat, 17 October 2015 18:48]

Report message to a moderator

Re: Eclipse (Linux) force GTK2 [message #1711546 is a reply to message #1711538] Sat, 17 October 2015 04:17 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33108
Registered: July 2009
Senior Member
Timo,

You can add the following before the VM args in the eclipse.ini

--launcher.GTK_version
2


On 17/10/2015 2:52 AM, Timo Breihals wrote:
> Hello,
>
> I can't find anything on the internet, so I hope I'll get the answer
> here.
>
> I am using Archlinux with Linux 4.2.3-1 and recently updated to gtk3
> 3.18.2-1. I was developing on Eclipse Mars 1 Version 4.5.1. So pretty
> much on the edge of stable I think. I recently started developing with
> a wildfly Server. After updating my OS, Eclipse failed and wasn't able
> to be executed properly.
>
> Properties Pane couldn't be opened
> Eclipse can't add Servers (hangs)
> Significant Marketplace-performance problems
>
> So I have now purged GTK3 with all it's dependencies..... (so alot of
> my everyday applications). Nevertheless I've GTK2 installed where
> Eclipse runs flawlessly. So my question is: Can Eclipse be configured
> to use GTK2 on purpose?
>
> Greetings Timo.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Eclipse (Linux) force GTK2 [message #1711584 is a reply to message #1711538] Sat, 17 October 2015 18:48 Go to previous messageGo to next message
Timo Breihals is currently offline Timo BreihalsFriend
Messages: 2
Registered: October 2015
Junior Member
Thank you. That worked.
icon14.gif  Re: Eclipse (Linux) force GTK2 - "usar eclipse con gtk2" [message #1732254 is a reply to message #1711546] Sat, 14 May 2016 00:06 Go to previous message
juan nambert is currently offline juan nambertFriend
Messages: 2
Registered: May 2016
Junior Member
this is the way to start eclipse with gtk2 in this file is eclipse.ini

change
--launcher.defaultVersion or something like that
by
--launcher.GTK_version
2

-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product

--launcher.GTK_version
2

openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.GTK_version
2
optional
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-Dosgi.configuration.area=@user.home/.config/eclipse-jee

regards Very Happy
Previous Topic:From ocl expression to syntax tree (Search about a tool)
Next Topic:gitignore without breaking workspace
Goto Forum:
  


Current Time: Tue Mar 19 10:20:27 GMT 2024

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

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

Back to the top