Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 1667  / 3 Years ago, fri, august 27, 2021, 1:41:01

On 13.04 the GWT designer is not working on Eclipse 4.2 and Eclipse 3.7. If I want to switch in the design-mode after executing Workaround 2 from this page, Eclipse crashes and is closing automatically.



I asked this question for 12.10, where it works for my answer on 12.10. I tested both answers from this question and none is working on 13.04.


More From » java

 Answers
4

Found a 'clean' workaround [tested on Ubuntu 13.04 (amd64) & Eclipse Kepler]



As it seems, GWT (also SWT) needs an older libwebkitgtk1.0 to run the designer.



So, assuming you already have the 13.04 Ubuntu repository 'libwebkitgtk1.0' (v.1.10.x) installed (as a dependency of Gimp for example), and don't want to mess with it:



1) Download the following (from launchpad.net) - BUT DO NOT INSTALL THEM:




  • libwebkitgtk-1.0-0_1.8.3-0ubuntu0.12.04.1_amd64.deb

  • libjavascriptcoregtk-1.0-0_1.8.3-0ubuntu0.12.04.1_amd64.deb



2) Open the 2 files downloaded with Archive manager



3) Create folder $HOME/.eclipse/lib



4) Extract the 'lib' folders contents of the 2 deb files in the folder created



5) Launch eclipse with the following command line (from within the eclipse folder):



LD_LIBRARY_PATH=$HOME/.eclipse/lib ./eclipse



6) Switch to the designer tab - should work.



Basically, what you do is forcing eclipse to first check '$HOME/.eclipse/lib' folder for any needed lib and later the /usr/lib - so you place there the older libs and picks them instead of the system installed ones (and the system is still clean/untouched)



(Just a notice - this is not a fix - its a workaround)


[#31359] Sunday, August 29, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fieldcheon

Total Points: 24
Total Questions: 105
Total Answers: 109

Location: Western Sahara
Member since Tue, Feb 16, 2021
3 Years ago
fieldcheon questions
Fri, Apr 1, 22, 05:58, 2 Years ago
Wed, Feb 2, 22, 03:31, 2 Years ago
Sat, Aug 14, 21, 01:24, 3 Years ago
;