0

zk studio with Eclipse NEON (and MARS) and Ubuntu 16.04 - not working

asked 2016-08-19 14:46:58 +0800

Bobzk gravatar image Bobzk
428 1 5

Been using ZK Studio with Eclipse for some years without problems.

As soon as I install it in Eclipse NEON (or even MARS) with Ubuntu 16.04, I do a restart (as suggested after an install of a plugin), it works, but next start of Eclipse fails. Only way to start Eclipse is with a new workspace. But then it will fail again on next restart.

There are many Google hits regarding Eclipse problems with GTK 3 and Ubuntu 16.04 but any suggestions in those posts do not help.

Anyone got Eclipse with ZK Studio working on Ubuntu 16.04?

If I remove ZK Studio, Eclipse works fine.

delete flag offensive retag edit

5 Answers

Sort by ยป oldest newest most voted
3

answered 2016-11-07 16:50:42 +0800

Bobzk gravatar image Bobzk
428 1 5

updated 2016-11-07 16:53:37 +0800

Creating a shell script with an export to tell Eclipse to use GTK2 like below:

export SWT_GTK3=0

/home/bob/eclipse/jee-neon/eclipse/eclipse

seems to fix the problem.

Thanks.

link publish delete flag offensive edit
1

answered 2016-11-03 11:15:11 +0800

cor3000 gravatar image cor3000
5399 2 7
ZK Team

I recently upgraded to ubuntu 16.04 with eclipse (mars haven't tried neon since) and encountered a similar sounding error: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492371

In order to fix this I had to start eclipse with an additional environment variable: as described in this comment: https://bugs.eclipse.org/bugs/show_bug.cgi?id=492371#c30

I hope this helps in your case too ... once I upgrade to neon I'll check if this still works as before.

Under windows I haven't encountered this problem yet.

link publish delete flag offensive edit

Comments

0

answered 2016-08-21 06:37:11 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Bobzk,

This can help out

https://coffeeorientedprogramming.wordpress.com/2014/10/27/how-to-tell-if-you-are-running-eclipse-on-gtk2-or-on-gtk3/

Best Regards,

Darksu

link publish delete flag offensive edit
0

answered 2016-08-20 16:40:56 +0800

Bobzk gravatar image Bobzk
428 1 5

Hi Darksu,

You sure that is for Ubuntu/Xubuntu 16.04? Can you point me to the stack overflow page you are quoting. I would like to see exactly what they are saying. There is no GTK or NO GTK theme option that I can see.

Thanks,

Bobzk

link publish delete flag offensive edit
0

answered 2016-08-20 05:35:49 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Bobzk,

I did a search in stack overflow and found this solution:

  1. Go to Window>Preferences>General>Appearance.
  2. Change "GTK" Theme for any other theme you like.

Can you try it out?

Best Regards,

Darksu

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2016-08-19 14:46:58 +0800

Seen: 137 times

Last updated: Nov 07 '16

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More