How to use any browser except IE11 in Eclipse 3.1.1? - eclipse

We are using Birt Viewer Toolkit, BVT, and Eclipse 3.1.1 to display BIRT reports. We are stuck on Eclipse 3.1.1. There is a problem on sites which have installed Internet Explorer 11, the reports do not display. I want to use an older version of Internet Explorer, such as IE 8, 9, 10, or Firefox or Chrome, anything but IE 11.
I found this reference, this is the sort of solution I’m looking for
How to make SWT Browser control use Mozilla instead of IE on Windows?
which says you can create a Browser in Eclipse using
Browser browser = new Browser(shell, SWT.MOZILLA);
SWT.MOZILLA is not defined in Eclipse 3.1.1. Looks like SWT.MOZILLA was started in Eclipse 3.3.
Also looking in org.eclipse.swt.browser. I see Shell.Explorer hardcoded in the call to new WebSite.
How do I use any browser except IE 11, on sites which have IE installed?
Thanks
Bob

Internet Explorer (IE) is default embedded web browser in Eclipse under Windows there is no option to change default internal web browser. Anyway there you can use one of three options as work around:
Update your Eclipse to the latest one. It works correctly with IE 10
Try opening your report in Firefox instead of your report viewer (I know that this is not the best option).
Change default settings in IE to use compatibility mode. These changes should also apply embedded web browser.

Related

Netbeans plugins site is down rendering netbeans useless

I'm using Netbeans 11.1 and need to a open a JS file in my project.
I need to install the Oracle JS Parser for Netbeans which I cannot do so because the site - plugins.netbeans.org is down. I'm getting this error -
Networking problem in
http://plugins.netbeans.org/nbpluginportal/files/nbms/1552395301_org-netbeans-libs-oracle-jsparser.nbm
Is there anyway I can install it manually otherwise I cannot resume work with netbeans rendering it useless.
The issue you are encountering was a bug in the released version of NetBeans 11.1. See Bug Report NETBEANS-2903 Warning - could not install some modules: Nashorn Integration - No module providing the capability com.oracle.js.parser.implementation could be found. 19 further modules could not be installed due to the above problems.
You have two options to fix this:
Upgrade to NetBeans 11.2 or later, where the problem does not exist.
Download and install the plugin yourself on NetBeans 11.1 by going to Tools > Plugins > then clicking the Settings tab, then the Add button. In the Update Center Customizer window enter any descriptive text in the Name field, in the URL field enter https://netbeans.apache.org/nb/plugins/11.1/catalog.xml.gz and then click OK. However, I just tried that, and got the error "Unable to connect ... because of Unexpected end of file from server". That connection may come good at any time, or it may be that you can no longer reliably access the plugin libraries for older versions of NetBeans.
So your only immediate solution is to upgrade to any newer version of NetBeans. That's desirable anyway, because you will get other bug fixes as well as this one. And if you move to NetBeans 12.x you will also get added functionality, and be able to use more recent versions of the JDK.
Also, as a separate but related matter, you were using an http URL rather than an https URL for your download. I'm not certain, but I doubt if that will work now; if you are not using a secure link you should expect failure, and in any case it looks like you were using a URL for NetBeans 8 rather than NetBeans 11.

TinyMCE search and replace plugin not working on Firefox 47.0.2

I am facing the issue with search and replace plugin. it is not working on firefox browser v 47.0.2.
I am using Version: 5.0.5 (2019-05-09)
Please do the needfull.
That is a rather old browser and is not officially supported by TinyMCE at this time. I have tested TinyMCE 5.0.x in the current / supported Firefox releases (60ESR and 67) and it works correctly in these browsers.
We have this page that provides a list of supported browsers:
https://www.tiny.cloud/docs/general-configuration-guide/system-requirements/#browsercompatibility
TinyMCE fully supports the most recent version of all browsers listed above. TinyMCE also supports the latest Extended Support Release (ESR) from each vendor (e.g. Firefox).

Can't get SWT Browser to work in standalone RCP app on CentOS

My RCP app running in CentOS 6.7 uses the SWT Browser. It works properly when launching the app from within eclipse, but when I run it as a standalone app, the Browser cannot be instantiated, and a SWT Exception with message "No more handles" is thrown. I prefer to use the browser with style SWT.WEBKIT, but it doesn't work with style SWT.NONE either.
I have the latest versions of packages webkitgtk, webkitgtk-devel, and gtk2 installed. I tried using style SWT.NONE and set env variable MOZILLA_FIVE_HOME to point to the firefox installation directory, the xulrunner executable, and even the google-chrome installation. I also added $MOZILLA_FIVE_HOME to LD_LIBRARY_PATH. If I have anything set for MOZILLA_FIVE_HOME the app segfaults when the Browser is instantiated. If I don't set MOZILLA_FIVE_HOME I get the SWT exception.
The SWT documentation says that if I have webkitgtk installed, eclipse will detect it automatically. But it also says that with eclipse 4.2 and later it works with gtk3 by default. I don't see any gtk3 packages.
I'm using Eclipse SDK 4.4.2 in my target, but my app is an Eclipse 3 app. So perhaps this is an error in the compatibility layer. I can try using an Eclipse 3.x SDK, but I'd rather not do that. The SWT plugin being installed is version 3.102.xxx.
As I said, the app works when launched inside eclipse, so am I perhaps missing a plugin in my built product? I see the swt.gtk plugins installed, but I don't know what else to look for. Also the standalone app works properly in Ubuntu.
The following entries in eclipse.ini enable the Browser control to work in CentOS 6.7 with style SWT.NONE
-vmargs
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-Dorg.eclipse.swt.browser.XULRunnerPath=/path/to/xulrunner/
This also requires that a supported version of xulrunner be installed (1.9.2 worked for me), as precisely specified in the SWT FAQ. NB: The following caveat is stated in the FAQ regarding the possible use of firefox as a xulrunner instance:
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 firefox installed on my CentOS 6.7 system doesn't seem to have the linked gecko libraries, but I may have manually installed a differerent version at some point.
There appears to be no way to use Eclipse 4.4 or newer with webkit on CentOS 6.7, since gtk3 is required per the FAQ, and the only reference I found to installing gtk3 on CentOS 6.x said that it would be very difficult.
The FAQ is confusing to me on a couple points. It seems to contradict itself, saying that a compliant xulrunner can be used with eclipse 4.4 and then saying that it cannot, because eclipse 4.4 "uses GTK 3 by default" and xulrunner has not been ported to gtk3. My SWT installation appears to be built for gtk3, but it did not prevent me from using xulrunner. Furthermore, saying that gtk3 is used by default seems to imply that it's possible to use some other version of gtk, but hours of searching turned up no information on that.
If anyone knows how to make eclipse 4.4 work with gtk2, I would greatly appreciate it. I'm not happy at all about being forced to use gecko for eclipse 4.4 apps running in CentOS 6.x.
EDIT: It occurs to me that a big unanswered question is why the Browser doesn't throw the exception with style SWT.WEBKIT and no XulRunnerPath property set when I launch the app from within eclipse. I'd really like to understand that.

Fiddler: show FiddlerScript tab in version 4+

I make extensive use of FiddlerScript. The version of Fidder (v2.4.5.0) that's installed in my Windows 7 machine has the FidderScript tab showing by defaut:
However, the version I have instaleld on my Windows 8 machine (v4.4.5.8) doesn't show the FiddlerScript tab:
Any idea how I can show the FiddlerScript tab?
You need to install this add-on
2014-02-23 Updated link here:
http://www.telerik.com/fiddler/add-ons (Syntax-Highlighting Add-Ons)

java 7 update25 applet not working on IE10

Anyone has success of running applet page below with IE10 installing the jre7u25?
http://www.java.com/en/download/testjava.jsp
Are there any way to disable update of java when using runapplet below?
http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html
Anyone has success of running applet page below with IE installing the jre7u25?
I don't use Windows, but I'm sure someone has. At least for some version of IE. It is (frankly) implausible that it doesn't work in the vast majority of cases.
Please be specific about what version of Windows and IE you are talking about, and how it is "not working" for you.
Are there any way to disable update of java when using runapplet(jnlp) below?
This doesn't make sense. JNLP doesn't update Java.
The problem with Java and IE10 seems to be to do with 32bit versus 64bit. Apparently IE10 defaults to running in 32bit mode, even on a 64bit platform. And a 32bit browser requires a 32bit Java plugin.
Check what versions of Java you have actually got installed.
Try switching IE10 to "Enhanced Protection Mode" and see if it can find 64bit Java.
Try manually installing a 32bit Java.
Reference:
http://www.java.com/en/download/faq/win8_faq.xml
I figured out why the problem occurs.
IE10 runs in 64bit frame but the tab runs in 32bit mode.
There is a way to run tab in 64 bit mode in windows8.
http://www.lockergnome.com/windows/2012/08/25/how-to-make-internet-explorer-10-run-in-64-bit/
But it doesn't work in windows7.
I tried with chrome ie tab which runs chrome and ie in 32bit mode in which the applet works.
I had problems too with my applet. In Google Chrome from the start works perfectly.
Internet explorer 10 seems not recognize new Java 7 u 25 installed on PC after automatic upgrade.
I solved problem with next steps:
uninstall all Java 7 versions on PC
Download Java package on http://www.oldapps.com/java.php (depending what you need 32 or 64 bit)
install Java
After that IE10 recognized Java and applet works fine.
Maybe just add the env var like the next post says. That functions for me!!!
https://forums.oracle.com/thread/2530883?tstart=0
And add too the parameter at execution time like the next post
http://nicolask.wordpress.com/2012/11/30/oracle-jnitiator-version-too-low-please-install-version-1-1-8-2-or-higher/
I hope this help you!!! And as an advice use chrome for better performance.
The only way I could get the latest java (7 update 25, 32 bit) to run ALL THE TIME in Internet Explorer 10 desktop mode (in Windows 8 64 bit) was to create a new shortcut to:
"C:\Program Files (x86)\Internet Explorer\iexplore.exe
Then hitting advanced (in the shortcut) and choosing RUN AS ADMINISTRATOR
If you do not want to do that (for security reasons), the work around that I found, was to install Chrome (as Java works all the time) and use that for sites that require Java.
I hope that helps
the 64-bit java plugin is not compatible with Enhanced Protected Mode, which is a new type of sandbox they have for IE10 and IE11.
Therefore , disable Enhanced Protected Mode, install 32-bit JRE and now IE should run 32-bit child processes for each window, which will be compatible with Your 32-bit Java plugin.
This is valid for the desktop-mode IE in Win8. The new-flat-unintuitive-mode IE has Enhanced Protected Mode enable per default. You can check by using Process Explorer, and showing the Integrity column. If "AppContainer" is displayed, then EPM is used
Hope this helps