facebook

Linux Internal Web Browser Compatibility

MyEclipse features may have compatibility issue with internal web browser on Linux

Eclipse 3.3 now supports the Mozilla browser on all platforms (Mozilla Everywhere Support).  For more information on Mozilla Everywhere: see bug#79213.  For MyEclipse Linux users, this means that the embedded Mozilla browser core that is shipped with MyEclipse 6.0 can serve as the core for the Eclipse platform browser as well.   This embedded Mozilla browser core shipped with MyEclipse is required for the following MyEclipse features:

Features that require embedded MyEclipse Mozilla browser core to be operational:

  • AJAX Web Browser
  • JavaScript Debugger 

In the past, MyEclipse Linux users had to modify their environment to allow the embedded Mozilla browser core to operate correctly.  However, with MyEclipse 6.0, in most cases no extra configuration is necessary.  But, there are still a few cases where the Mozilla browser core may not be operational and it still requires extra configuration. 

When extra configuration is necessary

If you try to use the AJAX Web Browser or the JavaScript Debugger and they work the first time, no further configuration is required. However, if you see the following dialog:

If you see this warning message, please read the next section for steps how to modify your environment to always guarantee that the MyEclipse features will operate correctly.

 

Enabling the AJAX Web Browser or JavaScript Debugger

This section describes the process of configuring your environment to ensure that the AJAX Web Browser and JavaScript Debugger are always operational.  

How to enable the AJAX Web Browser and JavaScript Debugger:

  1. Shut down MyEclipse.
  2. Create a shell script in order to configure an environmental variable before Eclipse is launched.
  3. Set the MOZILLA_FIVE_HOME environmental variable to the value “”.

    startup-script.sh
    export MOZILLA_FIVE_HOME=””
    ./eclipse (other args)

    OR
    Just add the ‘export MOZILLA_FIVE_HOME=””‘ string to the front of the usual command you use for linux:
    Shell command
    $shell prompt$ MOZILLA_FIVE_HOME=”” ./eclipse (other args)
  4. Start MyEclipse using this new startup script or new shell command

If you perform these steps and you are still having trouble, please contact us at the MyEclipse Support Forums and we will help you with your specific problem.