Skip to main content



      Home
Home » Newcomers » Newcomers » [solved] Eclipse (Linux) force GTK2
[solved] Eclipse (Linux) force GTK2 [message #1711538] Fri, 16 October 2015 15:25 Go to next message
Eclipse UserFriend
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 14:48] by Moderator

Re: Eclipse (Linux) force GTK2 [message #1711546 is a reply to message #1711538] Sat, 17 October 2015 00:17 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Eclipse (Linux) force GTK2 [message #1711584 is a reply to message #1711538] Sat, 17 October 2015 14:48 Go to previous messageGo to next message
Eclipse UserFriend
Thank you. That worked.
icon14.gif  Re: Eclipse (Linux) force GTK2 - "usar eclipse con gtk2" [message #1732254 is a reply to message #1711546] Fri, 13 May 2016 20:06 Go to previous message
Eclipse UserFriend
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 Apr 29 05:01:32 EDT 2025

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

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

Back to the top