Tuesday, April 23, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 17572  / 1 Year ago, mon, december 5, 2022, 7:46:47

I have installed Eclipse 4.2 x64 on Ubuntu 12.10 x64. I need to use the internal web browser but it is disabled by default.



The Use internal web browser radio button in preferences -> General -> web browser is disabled. How can I enable it?



I have installed Eclipse 4.2 x64 in another PC that uses Ubuntu 12.04 x64 and the internal browser works perfectly.


More From » 12.10

 Answers
7

That checkbox opens up only if you meet the criteria set in their FAQ. Copy/paste from there:



Question: What do I need to run the SWT Browser inside Eclipse on Linux?:




Answer: The browser versions that are supported by each Eclipse release are listed below. Note that Mozilla/XULRunner versions that are not final releases (eg.- betas, alphas, nightlies) are not supported, even if their version technically satisfies a listed version range. Also note that the Mozilla/XULRunner must be compiled for the same architecture as the SWT jar that is being used.




Eclipse 3.0.x: Mozilla 1.4 GTK2 - 1.6 GTK2.
Eclipse 3.1.x: Mozilla 1.4 GTK2 - 1.7.8 GTK2.
Eclipse 3.2.x: Mozilla 1.4 GTK2 - 1.7.x GTK2.
Eclipse 3.3.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x.
Eclipse 3.4.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.0.x.
Eclipse 3.5.0 and 3.5.1: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.1.x.
Eclipse 3.5.2: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x and 3.6.x
(but not 2.x).
Eclipse 3.6.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x and 3.6.x
(but not 2.x), WebKitGTK+ 1.2.x (see How do I use the WebKit renderer on Linux-GTK?)
Eclipse 3.7.x/4.1.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x and 3.6.x
(but not 2.x), WebKitGTK+ 1.2.x and newer
Eclipse 3.8.x/4.2.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x, 3.6.x and 10.x
(but not 2.x nor 4.x - 9.x), WebKitGTK+ 1.2.x and newer



Also note that a Firefox release whose contained Gecko version correlates with the Mozilla versions above can also be used with Eclipse 3.1 and newer (Linux only), provided that it has been compiled with linkable Gecko libraries. It is important to note that Firefox downloads from mozilla.org do not satisfy this criteria, but Firefox installations that are included in major Linux distributions often do in the absence of a XULRunner installation. Attempting to use a Firefox install without linkable Gecko libraries will throw an error with message "No more handles [NS_InitEmbedding...error -2147221164]".



The version of Mozilla or Firefox installed on your system varies with your Linux distribution. The following Linux distributions meet the minimum Mozilla requirements for using the Browser widget.




RedHat Enterprise Linux 3
Suse 9





2 things seem important:




  • Mozilla/XULRunner must be compiled for the same architecture as the SWT jar that is being used.


  • Eclipse 3.8.x/4.2.x: Mozilla 1.4 GTK2 - 1.7.x GTK2, XULRunner 1.8.x - 1.9.x, 3.6.x and 10.x (but not 2.x nor 4.x - 9.x), WebKitGTK+ 1.2.x and newer







If you meet these criteria and it still does not let you change it you might consider taking this to the Eclipse forum or filing a bug (if you are sure it is all as it should be).


[#34119] Tuesday, December 6, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ranquctive

Total Points: 391
Total Questions: 103
Total Answers: 104

Location: South Sudan
Member since Thu, Feb 4, 2021
3 Years ago
;